☰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

Draw multi-line, push_notebook, and show tooltip

Community Support
bhomass
bhomass

I am building an interactive bokeh app using the embedded server. After the initial plot, I allow the user to crop out a region using the BoxSelectTool. I capture the corner coordinates and draw a bracket around the cropped region using multi_line. Push_notebook() does successfully display a bracket there. Then I want to add a tooltip for the bracket. However, calling add_tools(hover) has no effect. Is there some way to do this? hover is a tooltip which I declared ahead of time during the initial drawing.

⌁   Link to post
Bryan
Bryan

I’m afraid it’s difficult to say anything concrete without an MRE to actually run and investigate directly. Offhand I’d suggest just adding the hover tool up front with an empty renderers property, and then set the renderers property appropriately when you want to “turn it on”. That is a much less heavyweight sort of update operation.

⌁   Link to post

End of archived discussion · Replies are disabled