Hover tooltip not showing for step line
See original GitHub issueALL software version info (bokeh, python, notebook, OS, browser, any other relevant packages)
Python 3.6 Bokeh 0.12.13
Description of expected behavior and the observed behavior
Using the default hover tool I do not see the tooltip when using the step line. Switching to circle or line will result to the correct behaviour.
Complete, minimal, self-contained example code that reproduces the issue
from bokeh.plotting import figure, output_file, show
# output to static HTML file
output_file("test.html")
p = figure(plot_width=400,
plot_height=400,
tools='hover')
# p.circle([1, 2, 3, 4, 5], [6, 7, 2, 4, 5],
# size=20,
# color="navy",
# alpha=0.5,
# )
p.step([1, 2, 3, 4, 5], [6, 7, 2, 4, 5],
color="navy",
alpha=0.5,
)
# p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5],
# color="navy",
# alpha=0.5,
# )
# show the results
show(p)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Tooltip not appearing on hover near a trend line on tableau ...
It looks like it's very close but right on top of the point and the tooltip doesn't appear. It's far enough away were...
Read more >chart.js tooltip position, tooltip not displayed - Stack Overflow
I have a line chart with two datasets.
Read more >Tooltips not showing on line in a line and bar chart
I created a customised tooltip to show the breakdown of the datapoint, e.g. if users hover one a bar or a marker it...
Read more >Tooltips – amCharts 5 Documentation
When root element is created, it does create a single shared Tooltip instance which is reused for most elements. Whenever tooltip needs to...
Read more >Tooltip | Common Settings - AnyChart Documentation
By default, the tooltip is being shown when a point on a chart is hovered over. To disable them from showing at all,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is never any reason to comment just to ask this. If there is any new development, it would be reported here. There is currently much work than people to do it. New help/contributors is certainly appreciated and the only way things can go faster.
I would like to express interest in this feature as well. We are trying to visualize histograms with many bins (>10k) with bokeh. bars/boxes seem to perform way worse and are not as feature-rich in general than the step glyph, it seems. We prefer the step glyph over the line, since, when zoomed in close, it is still clear what the size of a single bin is. However, due to the hover feature, we are using line now.