Bokeh Toolbar - Hide specific tools

When configuring a toolbar I’d like to hide some (but not all) of the tools, but I can’t seem to find a way to do it.

The specific use case here is a plot which has a HoverTool, TapTool, and BoxZoomTool which should all be on at all times (and so don’t need to be in the toolbar). It also has a ZoomInTool, ZoomOutTool, SaveTool, and ResetTool, and so hiding the whole toolbar isn’t really an option. Obviously this isn’t a chart-breaking issue, but the toolbar is rather cluttered right now and I’d love to fix it.

Hi,

AFAIK as of Bokeh 0.13 there is no way to do this, so a GitHub issue to request it as a new feature would be appropriate. There are many other priorities right now, so if you have the ability to contribute a PR (with some help and guidance) that would probably accelerate the ability to have it included in a future release.

Thanks,

Bryan

···

On Aug 9, 2018, at 11:58, [email protected] wrote:

When configuring a toolbar I'd like to hide some (but not all) of the tools, but I can't seem to find a way to do it.

The specific use case here is a plot which has a HoverTool, TapTool, and BoxZoomTool which should all be on at all times (and so don't need to be in the toolbar). It also has a ZoomInTool, ZoomOutTool, SaveTool, and ResetTool, and so hiding the whole toolbar isn't really an option. Obviously this isn't a chart-breaking issue, but the toolbar is rather cluttered right now and I'd love to fix it.

--
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/0eae2a3c-5b9c-4f0a-b13f-2afc620fcc25%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Bryan,

I’ve just opened an issue (#8153) on the GitHub. I’ll see if I can find any time to write the PR, but I suspect it won’t happen in the near future.

Thanks!

Tim

···

On Thursday, August 9, 2018 at 2:19:48 PM UTC-6, Bryan Van de ven wrote:

Hi,

AFAIK as of Bokeh 0.13 there is no way to do this, so a GitHub issue to request it as a new feature would be appropriate. There are many other priorities right now, so if you have the ability to contribute a PR (with some help and guidance) that would probably accelerate the ability to have it included in a future release.

Thanks,

Bryan

On Aug 9, 2018, at 11:58, [email protected] wrote:

When configuring a toolbar I’d like to hide some (but not all) of the tools, but I can’t seem to find a way to do it.

The specific use case here is a plot which has a HoverTool, TapTool, and BoxZoomTool which should all be on at all times (and so don’t need to be in the toolbar). It also has a ZoomInTool, ZoomOutTool, SaveTool, and ResetTool, and so hiding the whole toolbar isn’t really an option. Obviously this isn’t a chart-breaking issue, but the toolbar is rather cluttered right now and I’d love to fix it.


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/0eae2a3c-5b9c-4f0a-b13f-2afc620fcc25%40continuum.io.

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