-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small domain causing hovers to not appear #527
Comments
Bug confirmed. Thanks for bringing this up. Reproducible codepen: http://codepen.io/etpinard/pen/BKEpgW Hover labels visibility should not be affected by the axis domains. |
By the way, domain values beyond |
Here are a couple of playgrounds that might help with debugging: |
I believe this happens because plot.ly wants to constrain labels strictly to the height of current y axis ( One way to solve this could be to allow labels to spill out of the current axis, at least into the associated x-axis, but possibly also into other subplots or even into the margins of the plot. |
Ok, maybe "sensible" and "nonsensical" are not really true, I'm just thinking domain should be
[0,1]
, but maybe that is not necessary.This bug was discovered via this SO post. http://stackoverflow.com/questions/37178664/plotly-hover-text-not-displaying/37180688#37180688
This fiddle has the following code, and hover text is not working. If I make the single change of
domain
from[0.85, 0.9]
to[0.85, 1.9]
, the hovers show. But the whole point is to have the line of markers above other plots as in http://plnkr.co/edit/vvStyutowlwubUdddY37The text was updated successfully, but these errors were encountered: