
When the same CDS is used for plotting multiple glyphs, hovering over the last added glyph highlights all of them. In the example below, hovering over l1 and l2 does not highlight any of them, but hovering over l3 (the last one added with hover) highlights all of them. Is this a bug or expected behavior?
from bokeh.plotting import figure, show
from bokeh.models import ColumnDataSource
source = ColumnDataSource(data={
'x': [1, 2, 3],
'y1': [1, 2, 3],
'y2': [2, 3, 4],
'y3': [3, 4, 5],
})
p = figure(tools='hover')
l1 = p.line(x='x', y='y1', source=source, line_color='red', line_width=1, hover_line_width=2)
l2 = p.line(x='x', y='y2', source=source, line_color='green', line_width=1, hover_line_width=2)
l3 = p.line(x='x', y='y3', source=source, line_color='blue', line_width=1, hover_line_width=2)
show(p)
Even if the renderer is explicitly set:
from bokeh.models import HoverTool
tool = HoverTool(renderers=[l1])
p.add_tools(tool)
hovering over l1 highlights all the glyphs.

