I draw a lot of dots in Bokeh, and I added HoverTool to the list of shape tools, so the mouse shows the x,y coordinates of the mouse when close to the glyph.
As the mouse approaches a set of glyphs that are closely related to each other, I get as many clues as glyphs. Instead, I want only one hint, one of the nearest glyphs. This is not just a detail of the presentation, because for so many points this result is:
- in slow interaction with the chart, when the browser gets stuck, when tooltips pop up
- in a very long tooltip, where the same information is repeated as many times as there are glyphs close to the cursor
The following is an example with code for replicating behavior: 
import numpy.random from bokeh.plotting import figure, output_notebook, show from bokeh.models import HoverTool output_notebook() hover = HoverTool() hover.tooltips = [("(x,y)", "($x, $y)")] x = numpy.random.randn(500) y = numpy.random.randn(500) p = figure(tools=[hover]) p.circle(x,y, color='red', size=14, alpha=0.4) show(p)
gg349 source share