☰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

Tool icon gets pushed off palette during push_notebook

Community Support
bhomass
bhomass

I created a figure with a set of tools. I have user interactions which calls push_notebook() to update the display. Everytime I do that, an additional tooltip like icon gets added to the palette (the repeating ones on the right, just to the left of the Bokeh icon), and the ones of the left get pushed off the screen.
palette

What is that new icon? what purpose does it server? how can I prevent unlimited adding of this new icon?

⌁   Link to post
bhomass
bhomass

then I don’t see a way around this. Adding tooltip upfront doesn’t work. it does not attach to the dynamically added glyphs. There is no delete_tools call to remove previous tooltips. How would I apply tooltip to glyphs that user adds interactively?

⌁   Link to post
Bryan
Bryan

Did you try adding the tool up front and subsequently updating the hover_rool.renderers list with the new glyph renderers, as I suggested previously?

⌁   Link to post
bhomass
bhomass

right now hover_tool.renderers yields ‘auto’. I am not able to google out any instruction on updating it.

This does not work

cluster_hover_tool = HoverTool(
tooltips=[
    ("group theme", "@mean_theme")           
],
renderers=[])   

new_bracket = plot.multi_line( xs='x', ys='y', color='colors', source=line_source, name='bracket')
renderer_list = hover.renderers
print('renderer_list={}'.format(renderer_list))
renderer_list.append(new_bracket)
hover.renderers = renderer_list
⌁   Link to post

End of archived discussion · Replies are disabled