☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Using multiple tools at the same time

Community Support
Tom
Tom

Please excuse if this has been answered elsewhere but I’ve googled and bunch and read a lot of the docs and can’t find anything on this. My question is whether one can activate multiple tools. It seems like bokeh only wants one tools to be active at a given moment. This kind of makes sense for pan and zoom as they both are triggered by left click actions, but it is hard to see why one can’t have wheel zoom and pan active at the same time as the former uses the scroll wheel of the mouse. In general I think it would be really useful to have multiple tools active. Where they collide the use of holding down shift/ctrl/alt keys during the action could avoid collisions. So shift+left click/drag controlled pan but left click/drag by itself did selection zoom. People may not always want this by default but it would be nice to be able to configure it.

–Tom

⌁   Link to post
Bryan
Bryan

Wheel zoom and pan are both active by default, pan is left drag but wheel zoom is shift+scroll.

···

On Sep 5, 2014, at 9:07 AM, Tom <tom.denniston@gmail.com> wrote:

Please excuse if this has been answered elsewhere but I've googled and bunch and read a lot of the docs and can't find anything on this. My question is whether one can activate multiple tools. It seems like bokeh only wants one tools to be active at a given moment. This kind of makes sense for pan and zoom as they both are triggered by left click actions, but it is hard to see why one can't have wheel zoom and pan active at the same time as the former uses the scroll wheel of the mouse. In general I think it would be really useful to have multiple tools active. Where they collide the use of holding down shift/ctrl/alt keys during the action could avoid collisions. So shift+left click/drag controlled pan but left click/drag by itself did selection zoom. People may not always want this by default but it would be nice to be able to configure it.

--Tom

--
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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/a1f4a7b2-82dd-4424-be93-526dd5d49861%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
Tom_Denniston
Tom_Denniston

Thanks Bryan. I realized I never responded to your email.

One question I have is whether it is possible to have wheel and pan active at the same time without having to use shift since one uses the left mouse button and the other the mouse wheel so that they don’t conflict.

A related question is are the default tools configurable? I’d love to have ctrl+click or alt+click be the box zoom for instance.

Again. Thank you for your response and I apologize at my tardiness in responding.

Best,

Tom

···

On Fri, Sep 5, 2014 at 10:56 AM, Bryan Van de Ven bryan@bokeh.org wrote:

Wheel zoom and pan are both active by default, pan is left drag but wheel zoom is shift+scroll.

On Sep 5, 2014, at 9:07 AM, Tom tom.denniston@gmail.com wrote:

Please excuse if this has been answered elsewhere but I’ve googled and bunch and read a lot of the docs and can’t find anything on this. My question is whether one can activate multiple tools. It seems like bokeh only wants one tools to be active at a given moment. This kind of makes sense for pan and zoom as they both are triggered by left click actions, but it is hard to see why one can’t have wheel zoom and pan active at the same time as the former uses the scroll wheel of the mouse. In general I think it would be really useful to have multiple tools active. Where they collide the use of holding down shift/ctrl/alt keys during the action could avoid collisions. So shift+left click/drag controlled pan but left click/drag by itself did selection zoom. People may not always want this by default but it would be nice to be able to configure it.

–Tom

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/a1f4a7b2-82dd-4424-be93-526dd5d49861%40continuum.io.

For more options, visit 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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/1E326C87-1986-4D95-8F6D-F77E3B18433C%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post
Bryan
Bryan

Hi Tom,

I have started out long awaited "tools refactor" in earnest. I am hoping to have it merged in the next few days. Some of the things you mention will be included and other will then be much easier to add. I will post to the list again when we have a new dev build with the new tools code merged.

Bryan

···

On Sep 16, 2014, at 8:20 PM, Tom Denniston <tom.denniston@alum.dartmouth.org> wrote:

Thanks Bryan. I realized I never responded to your email.

One question I have is whether it is possible to have wheel and pan active at the same time without having to use shift since one uses the left mouse button and the other the mouse wheel so that they don't conflict.

A related question is are the default tools configurable? I'd love to have ctrl+click or alt+click be the box zoom for instance.

Again. Thank you for your response and I apologize at my tardiness in responding.

Best,
Tom

On Fri, Sep 5, 2014 at 10:56 AM, Bryan Van de Ven <bryan@bokeh.org> wrote:
Wheel zoom and pan are both active by default, pan is left drag but wheel zoom is shift+scroll.

On Sep 5, 2014, at 9:07 AM, Tom <tom.denniston@gmail.com> wrote:

> Please excuse if this has been answered elsewhere but I've googled and bunch and read a lot of the docs and can't find anything on this. My question is whether one can activate multiple tools. It seems like bokeh only wants one tools to be active at a given moment. This kind of makes sense for pan and zoom as they both are triggered by left click actions, but it is hard to see why one can't have wheel zoom and pan active at the same time as the former uses the scroll wheel of the mouse. In general I think it would be really useful to have multiple tools active. Where they collide the use of holding down shift/ctrl/alt keys during the action could avoid collisions. So shift+left click/drag controlled pan but left click/drag by itself did selection zoom. People may not always want this by default but it would be nice to be able to configure it.
>
> --Tom
>
> --
> 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 bokeh+unsubscribe@continuum.io.
> To post to this group, send email to bokeh@continuum.io.
> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/a1f4a7b2-82dd-4424-be93-526dd5d49861%40continuum.io\.
> For more options, visit 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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/1E326C87-1986-4D95-8F6D-F77E3B18433C%40continuum.io\.
For more options, visit 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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CADep5S%2BjBuS%3DzjfaOnXGqgi170d2xdo3Wny7D%3DUQppCbj-5%2B%3DQ%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled