only, right? I cannot figure out how to do zoom out. Every time
I need to zoom out, I first do a reset then zoom in.
Except
for the new tile renderer, there is no notion of zoom “level”
there is just whatever the current data range is, which can be
arbitrarily set. If that’s what you are asking about, then the
ranges are on the plot’s frame object, in coffeescript,
something like:
plot.get('frame').get( 'x_ranges')['default'] #
default since possible to have multiple ranges
Bryan
> On Nov 13, 2015, at 8:03 AM, Amir El-hamdy <[email protected] > > > > wrote:
>
> I don't suppose there is any way to detect the current
level of zoom on the plot?
>
> On Friday, 13 November 2015 05:56:30 UTC, Sarah Bird > > > wrote:
> This doesn't exist in Bokeh yet I'm afraid.
>
> There is an open issue for it: [https://github.com/bokeh/bokeh/issues/572](https://github.com/bokeh/bokeh/issues/572)
>
> On 11/12/15 5:18 PM, Amir El-hamdy wrote:
>> Is there something I can implement to set a min/max
zoom?
>> When zooming out on the plot, the points deviate from
where they are supposed to be.
>> The best way I can think to mitigate this, is to
simply prevent the user from zooming out too much.
>>
>> Thanks in advance
>> --
>> 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/5143244b-2eb5-447c-acad-0c104b82b068%40continuum.io)[https://groups.google.com/a/](https://groups.google.com/a/)continuum.io/d/msgid/bokeh/5143244b-2eb5-447c-acad- 0c104b82b068%40continuum.io.
>> For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout) .
>
>
> --
> 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/326ec8ba-2717-4028-a9a3-bee4402e0ae5%40continuum.io)[https://groups.google.com/a/](https://groups.google.com/a/)continuum.io/d/msgid/bokeh/326ec8ba-2717-4028-a9a3- bee4402e0ae5%40continuum.io.
> For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout) .