☰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

Possible to hide tooltips for muted lines?

Community Support
tvkyq
tvkyq

I’ve got a figure with several lines going nicely thanks to some help from @p-himik, and I’ve got the legend click policy = ‘mute’ and have added some tooltips.

The tooltips still show when a line is muted, and I’m hoping to figure out if this can be disabled. As muted attributes need to be specified I’m thinking perhaps there’s some setting I can’t find in the documentation.

Is there anything I can do to disable tooltips for muted lines?

⌁   Link to post
p-himik
p-himik

No, not directly. There are 3 options that I can think of:

  • Hide instead of muting
  • Modify the list of renderers of the hover tools whenever you mute a glyph
  • Create a custom HoverTool that ignores muted glyphs
⌁   Link to post

End of archived discussion · Replies are disabled