HoverTool with several Glyphs, selecting just one Glyph
See original GitHub issueWhen using a HoverTool in a Plot with several Glyphs, how can you (or can you?) specify to just hover over one of the Glyphs?
Right now, if I have Patches + Circles that overlay, the circle doesn’t get the hover box displayed just the Patch, if there is no Patch (e.g. in a map, the sea), then the circle does get the hover box displayed.
e.g.:
If just one of the Glyphs has the variable in the HoverTool (e.g. Circles source has name
, Patches source doesn’t), then you still get this:
Ideas: -In case of several Glyphs, if one doesn’t have the variables name in its source, then HoverTool doesn’t apply to that Glyph? or, -Be able to assign Hover to a particular Glyph?
Issue Analytics
- State:
- Created 9 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Status of multiple hovertools on multiple glyphs?
I have a line plot with some circles plotted as well. The data is from different ... HoverTool with several Glyphs, selecting just...
Read more >Using selection_glyph as renderer for hovertool - Stack Overflow
hover.names, but it does not work. Basically i have a plot with many glyphs and i want the tooltip to appear when a...
Read more >Adding Hover Actions - Real Python
In this lesson you will add hover actions to your last visualization. For this you'll employ Bokeh's HoverTool() to show a tooltip when...
Read more >Interactive Data Visualization with Bokeh - Trenton McKinney
Bokeh is an interactive data visualization library for Python, ... Dictionaries; Sequences (lists, arrays): Multiple glyphs can be drawn by setting glyph ......
Read more >Adding Interactions - Bokeh documentation
... a widget's functionality: Use the CustomJS callback (see CustomJS for Widgets). ... A multi-select widget to present multiple available options: Option:.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hover does not currently play well with multiple renderers.
Here is the status as of #1294: You can attach a specific hover tool a specific renderer, either by passing the renderer itself to
.renderers
list or by passing thename
for the renderer into.names
list. Making hover work well will multiple renderers is on my short list but it is not trivial.dupe of #1510