☰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

Status of multiple hovertools on multiple glyphs?

Community Support
Chris_Lindner
Chris_Lindner

I have a line plot with some circles plotted as well. The data is from different datasets, so the lines and the circles need to have different tooltips. At the very least, I’d like to have tooltips only for the circles, but not the line.

I found this:

but the fixes seem kludgy and outdated. Is there an official way to do this right now? Does anyone have some examples?

⌁   Link to post
Sarah_Bird3
Sarah_Bird3

Hi Chris,

You can reference the glyph renderer when you add your tool.

You’ll probly do something like:

circle = Circle(…)

circle_renderer = p.add_glyph(source, circle)

p.add_tool(HoverTool(renderers=[circle_renderer]))

Hope this helps,

Bird

···

On Fri, May 22, 2015 at 2:01 PM, Chris Lindner christopherclindner@gmail.com wrote:

I have a line plot with some circles plotted as well. The data is from different datasets, so the lines and the circles need to have different tooltips. At the very least, I’d like to have tooltips only for the circles, but not the line.

I found this:

https://github.com/bokeh/bokeh/issues/975

but the fixes seem kludgy and outdated. Is there an official way to do this right now? Does anyone have some examples?

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/f5396199-259e-4d25-a371-17b9f089e7b7%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post

End of archived discussion · Replies are disabled