tooltip on hover can't be removed
See original GitHub issueDescribe the bug It looks like the tooltip-on-hover feature for scatter marks is always activated, even when we don’t want it.
To Reproduce With a notebook consisting of the following code:
import numpy as np
from bqplot import pyplot as plt
import bqplot
n = 200
x = np.linspace(0.0, 10.0, n)
y = np.cumsum(np.random.randn(n)*10).astype(int)
fig2 = plt.figure( title='Line Chart')
np.random.seed(0)
p = plt.scatter(x, y)
fig2.layout.width = 'auto'
fig2.layout.height = 'auto'
fig2.layout.min_height = '300px' # so it shows nicely in the notebook
fig2
p.interactions = {'click': 'select'}
p.selected_style = {'opacity': 1.0, 'fill': 'DarkOrange', 'stroke': 'Red'}
p.unselected_style = {'opacity': 0.5}
p.tooltip = bqplot.Tooltip(fields=['x', 'y'], formats=['', '.2f'])
We can see that the tooltip on hover works, even though we didn’t specify it in the interactions. For it to work we should have:
p.interactions = {'click': 'select', 'hover': 'tooltip'}
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
Remove tooltip at out of hover - javascript - Stack Overflow
Problem is I want to remove tooltip when mouse come over tooltip or coords. Because if we hover USA, we can't hover México...
Read more >tooltip on hover can't be removed · Issue #896 - GitHub
Describe the bug It looks like the tooltip-on-hover feature for scatter marks is always activated, even when we don't want it.
Read more >Completely remove Power BI tooltips and hover-overs
Removing Power BI tooltips on a Matrix and a Table will still leave you with the mouse- hover info. ... Your browser can't...
Read more >Add ToolTips on Mouse Hover for Buttons and Shapes in Excel
Excel trick to add ToolTips to any of your shapes when a user hovers over them in a worksheet, including buttons. This is...
Read more >Tooltips on visual types in QuickSight - AWS Documentation
When you hover your cursor over any graphical element in an Amazon QuickSight visual, a tooltip appears with information about that specific element....
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 Free
Top 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
Sure, PR coming 😃
Thanks!