How do I use custom labels for ticks in Bokeh?

Fixed ticks can just be passed directly as the “ticker” value, and major label overrides can be provided to explicitly supply custom labels for specific values: from bokeh.plotting import figure, output_file, show p = figure() p.circle(x=[1,2,3], y=[4,6,5], size=20) p.xaxis.ticker = [1, 2, 3] p.xaxis.major_label_overrides = {1: ‘A’, 2: ‘B’, 3: ‘C’} output_file(“test.html”) show(p)