☰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

Trigger tools from gui elements

Community Support
Nicholas_Earl
Nicholas_Earl

I’m using a Bokeh server, and I was wondering if it is possible to remove the visible tools that are aligned on the edge of the plot, and instead have them triggered by buttons on the page?

Thanks,
Nick

⌁   Link to post
birdsarah_continuum
birdsarah_continuum

It might be, you’d have to play around. I’m not familiar with any examples of that.

···

On 10/10/16 9:36 AM,
wrote:

nchlsearl@gmail.com

    I'm using a Bokeh server, and I was wondering if it

is possible to remove the visible tools that are aligned on the
edge of the plot, and instead have them triggered by buttons on
the page?

    Thanks,

    Nick

–

  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/edc7213b-c6df-485d-bf3e-3d43e49bce1d%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/edc7213b-c6df-485d-bf3e-3d43e49bce1d%40continuum.io?utm_medium=email&utm_source=footer).

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

–
Sarah Bird
Developer, Bokeh

    [
      ![Continuum Analytics](http://docs.continuum.io/_static/img/ContinuumWordmark.png)
    ](http://continuum.io)
⌁   Link to post
Bryan
Bryan

Hi,

Here is a sketch of a possible way (untested):

Your best best for this is to add all the tools, but set toolbar_visible=False. Then you can configure a CustomJS callback yoiur your buttons that are configured with the Tools objects as arguments. In the callbacks you can set sometool.active to be True of False.

Thanks,

Bryan

···

On Oct 10, 2016, at 11:36 AM, nchlsearl@gmail.com wrote:

I'm using a Bokeh server, and I was wondering if it is possible to remove the visible tools that are aligned on the edge of the plot, and instead have them triggered by buttons on the page?

Thanks,
Nick

--
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/edc7213b-c6df-485d-bf3e-3d43e49bce1d%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled