Maybe I’m doing something wrong, but the HoverTool does not appear to work for segment glyphs that have vertical orientation.
from bokeh.plotting import figure
from bokeh.models import HoverTool
hover = HoverTool(tooltips=[
("index", "$index"),
("(x,y)", "($x, $y)")
])
p = figure(title=“Background Analysis”,
toolbar_location="above",
tools=[hover],
plot_width=400,
plot_height=400)
p.segment(
x0=[1, 2, 3],
x1=[1, 2.4, 3.1],
y0=[1, 2, 3],
y1=[2, 2.5, 3.7],
)
show(p)
I opened an issue on github, but maybe there’s a workaround or I’m doing something wrong?
Thanks,
Matt

