☰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

Hovertool that only applies to certain glyphs?

Community Support
jcarson
jcarson

I’m trying to add a hover tool to a plot. The hover tool would only apply to certain lines on the plot but not others.

The examples in the documentation have the hovertool added to the entire figure. It’s not clear to me that I can associate a hover tool with only certain lines and not others.

Is it possible to create a hover tool and have it only appear over certain parts of the plot and not all of it? (The property that the hovertool references will not exist for the other lines on the plot.)

⌁   Link to post
jcarson
jcarson

Perfect! Thanks!
By certain parts of the plot, I just meant by glyph, not by coordinates. I just want to put a hovertool on lines with property_x and not lines without property_x and not my scatter glyphs.

⌁   Link to post

End of archived discussion · Replies are disabled