☰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

Customize how close pointer has to be for hover tooltips to display?

Community Supporthover
Pill-GZ
Pill-GZ

I’m trying to customize the hover tool so that I don’t have to point precisely at the data point for the tooltip shows up. Instead the hover tooltips would show up when I hover within some specified distance to an plot emelent.

That is, how do I allow some pointer range/fuzziness to the hover tool?

Is it all all possible with bokeh?

This is useful when the objects being plotted are visually small, and hard to point to precisely. E.g.,

from bokeh.plotting import figure, output_file, show
p = figure(plot_width=400, plot_height=400, tools='hover')
p.circle([1,2,3,4,5], [2,5,8,2,7], size=2)
show(p)
⌁   Link to post

End of archived discussion · Replies are disabled