When I update the datasource of an plot, the x and y axes adjust automatically
However, if I press the ResetTool the axes go back to the boundaries with which the chart was originally created
Where should I change the x_range/y_range to avoid this? Thanks
Giuseppe
Bryan
2
Initial ranges are set in the plot view here:
https://github.com/bokeh/bokeh/blob/master/bokehjs/src/coffee/common/plot.coffee#L174
That method is called automatically on the first render, but I don't see why you couldn't just call it again.
Bryan
···
On Aug 27, 2015, at 6:48 PM, Pythonic <[email protected]> wrote:
When I update the datasource of an plot, the x and y axes adjust automatically
However, if I press the ResetTool the axes go back to the boundaries with which the chart was originally created
Where should I change the x_range/y_range to avoid this? Thanks
Giuseppe
--
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/bc9e7e6b-42fa-41d6-864c-2e5b625ea13a%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.