axis label in Bokeh code example
Example: axis label in Bokeh
p = figure(x_axis_label="Initial y-axis label",
y_axis_label="Initial x-axis label")
# ...RC-use this when more than one Y axis in the plot labeling each axis independently
# p.xaxis and p.yaxis are lists. To operate on actual the axes,
# we need to extract them from the lists first.
callback = CustomJS(args=dict(xaxis=p.xaxis[0],
yaxis=p.yaxis[0]), code="""
xaxis.axis_label = "Updated x-axis label";
yaxis.axis_label = "Updated y-axis label";
""")