I’m assuming u r using the server.
What u want to isn’t going to be as easy as u hope. When u use the axis_type argument, under the hood bokeh chooses whether to attach a linear or log axis to your plot.
To switch them out i believe you’re going to need to send a whole new plot.
So instead of having code that on callback changes a property of your figure, have it generate a whole new figure.
Then if you wrap your figure in a layout box like VBox, you can just change the ‘children’ in your server callback and the new plot will get pushed down by bokeh server.
On Mar 15, 2016, at 1:44 PM, mada0304 [email protected] wrote:
I was trying to update the y_axis_type by invoking the following line:
But it seems that the y_axis is not updated in the plot. Is there any way to update the y_axis now?
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/66dfb289-ad0b-40ca-a3d3-5ef504f2b7ca%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.