Bokeh models are Backbone models, so you generally will want to use .set('attrname', value) to set property values (and .get('attrname') to get them). In this case you nee to do
axis.set('axis_label', 'my label')
The axes are renderers, they are stored in the "renderers" attribute of plots (so, plot.get('renderers') will get all of the renderers, you'll have to search for the axis you want)
On Thursday, 7 January 2016 03:53:16 UTC, Bryan Van de ven wrote:
Hi,
Bokeh models are Backbone models, so you generally will want to use .set(‘attrname’, value) to set property values (and .get(‘attrname’) to get them). In this case you nee to do
axis.set('axis_label', 'my label')
The axes are renderers, they are stored in the “renderers” attribute of plots (so, plot.get(‘renderers’) will get all of the renderers, you’ll have to search for the axis you want)