☰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

Re-ordering tools in the toolbar

Community Support
elina
elina

Hello,
I have a plot figure with the following tools:
pan,box_zoom,wheel_zoom,box_select,tap,crosshair,reset,save

As the title mentions, I’m wondering if the latest version of Bokeh supports reordering the tools that appear in the toolbar. I know tools are grouped by gesture type by default, but I’m looking for a way to bypass this ordering and order it in a more logical way based on what the user wants to achieve (i.e. right now the order is pan, box_zoom, box_select, wheel_zoom, tap but i want box_select and tap to be next to each other).

In the documentation I saw the tools have a group field which when set to False “prevent the tool from being grouped altogether”, and thetoolbar has a group field which determines “Whether to group common tools.” but neither helped me bypass the default group ordering.

I’ve seen some other posts about this but they are all from years ago and I’m wondering if this feature has been added to Bokeh since then.

Thanks!

⌁   Link to post
elina
elina

Yea I noticed, but thanks again for the clarification! Will just have to come back to it whenever the new Bokeh version is out. Do you have an estimate of when that might be happening?

⌁   Link to post

End of archived discussion · Replies are disabled