Tooltips only on circles,

Hi,
I have different circles representing different dataset in my plot.
I want to build hover-tooltips for all circles.

TOOLTIPS = [
    ("ivm", "@ivmval"),
]
p.add_tools( HoverTool(tooltips=TOOLTIPS))

But it applies to all plot area. I want tooltips only on circles, out of circles tooltips should not be shown. How can I do that ?

What do you mean by “it applies to all plot area”? If there’s no glyph under your cursor, there should be no tooltip. Can you share a screenshot?

If you indeed have multiple glyphs of different kinds and just want the hover tool to be active only on circles, you can just pass the relevant renderers to it via the renderers argument. Alternative way to achieve this is via its names argument.