question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hover tooltip not showing for step line

See original GitHub issue

ALL 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:open
  • Created 6 years ago
  • Reactions:2
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
bryevdvcommented, Jul 18, 2018

Any news on this?

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.

0reactions
Cyberfly100commented, Jun 7, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found