
Hi,
I have this plot:
from bokeh.plotting import ColumnDataSource, figure, show
from bokeh.io import output_notebook
from bokeh.models import HoverTool, PanTool, WheelZoomTool, ResetTool, Span
output_notebook()
p = figure(title='Example')
p.tools = [
HoverTool(),
PanTool(),
ResetTool(),
WheelZoomTool(),
]
p.toolbar.active_scroll = p.tools[-1]
country = 'Italy'
dset = datasets[country]
s0 = ColumnDataSource(dict(x=range(10), y=[ x**2 for x in range(10)]))
p.line('x', 'y', color='blue', source=s0)
span = Span(location=5, dimension='height', line_color='red', line_width=3)
p.add_layout(span)
show(p)
But it looks the HoverTool doesn’t show any information for the vertical span, is there any way to add it? Also how can I highlight the red vertical span on hever?
Thanks



