I can't quite tell from your description, do you not want there to be automatic data scaling ever? If so, you can specify explicit Range1d (as opposed to the default auto-scaling DataRange1d) objects, when you make the plot. For example:
plot.x_range = Range1d(0, 10)
If you do want auto-scaling at some point or in some way, please explain in a bit more detail.
Hi,
I'm running a bokeh server app with a multiline plot which I want to programatically zoom into.
Currently, I'm doing something like:
plot.y_range.start = range_start
plot.y_range.end = range_end
which seems to do what I want for a static datasource.
The only issue is as the datasouce is updated the figure rescales back to fit in all the data again.
How can I get this to work in the same way a manual zoom into the figure is not rescaled?