Disable zoom

Hi. I have built a page that takes data from the Steam API and plots the users playtime for the past 2 weeks and all time as 2 bar charts. This is an example of my profile:
http://www.anquantarbuile.com/steamvis/76561198008481956

Is there anyway to disable zooming in/out of the chart on a mouse scroll? I have added plot.toolbar_location = None to both plots but I am still able to zoom in or pan the bars off the chart completely. Is there anyway to prevent this?

Thanks,

James

Hi James,

You can specify what tools you want (or don't):

  http://bokeh.pydata.org/en/latest/docs/user_guide/tools.html#specifying-tools

Bryan

···

On Aug 21, 2015, at 12:54 PM, James Nagle <[email protected]> wrote:

Hi. I have built a page that takes data from the Steam API and plots the users playtime for the past 2 weeks and all time as 2 bar charts. This is an example of my profile:
http://www.anquantarbuile.com/steamvis/76561198008481956

Is there anyway to disable zooming in/out of the chart on a mouse scroll? I have added plot.toolbar_location = None to both plots but I am still able to zoom in or pan the bars off the chart completely. Is there anyway to prevent this?

Thanks,
James

--
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/9d492749-c49a-4822-ab11-1929777b3706%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Hi Bryan,

Thank you for your help, I added tools=“” and it works just like I wanted it to, I didn’t understand that I could do that.

Thanks again

James

···

On Friday, August 21, 2015 at 6:57:58 PM UTC+1, Bryan Van de ven wrote:

Hi James,

You can specify what tools you want (or don’t):

    [http://bokeh.pydata.org/en/latest/docs/user_guide/tools.html#specifying-tools](http://bokeh.pydata.org/en/latest/docs/user_guide/tools.html#specifying-tools)

Bryan

On Aug 21, 2015, at 12:54 PM, James Nagle [email protected] wrote:

Hi. I have built a page that takes data from the Steam API and plots the users playtime for the past 2 weeks and all time as 2 bar charts. This is an example of my profile:

http://www.anquantarbuile.com/steamvis/76561198008481956

Is there anyway to disable zooming in/out of the chart on a mouse scroll? I have added plot.toolbar_location = None to both plots but I am still able to zoom in or pan the bars off the chart completely. Is there anyway to prevent this?

Thanks,

James


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/9d492749-c49a-4822-ab11-1929777b3706%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.