X and Y axis labels for Bokeh figure

As of Bokeh 0.11.1, the user’s guide section on axes now shows how to edit properties of existing axes. The way to do it is the same as before:

p = figure(width=300, height=300, x_axis_label="Initial xlabel")
p.xaxis.axis_label="New xlabel"

Leave a Comment