-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Hovering on boxes/violins shows only median label under "opposite" hovermode #2970
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
Comments
Thanks @konieczny9lives! There's also a very strange interaction between the two plots in that codepen, that sometimes (for example, click "show closest data on hover" in the top modebar) the hover labels for the top plot show up at the positions they should have for the bottom plot !?! |
Great catch @alexcjohnson! In regard to the original issue, I just found out that if you add |
Related: #2194 |
It seems, this is the same problem as here:
|
After some investigation, lines: plotly.js/src/components/fx/hover.js Lines 580 to 582 in 2f0d56e
, plotly.js/src/components/fx/hover.js Lines 657 to 664 in 2f0d56e
and plotly.js/src/components/fx/hover.js Lines 760 to 765 in 2f0d56e
shed some light on the problem. In the 2-trace (bad) graph in https://codepen.io/kotwgarnku/pen/gdxaPN:
plotly.js/src/components/fx/layout_defaults.js Lines 31 to 32 in 2f0d56e
where
So, here's a few conclusions:
|
PR #3043 fixes the cases under
|
The misalignment in the original multi-plot codepen https://codepen.io/kotwgarnku/pen/gdxaPN when you set the first plot to |
Ha I see. This probably deserves an issue of its own. |
#2970 (comment) is now in -> #3050 |
This issue has been tagged with A community PR for this feature would certainly be welcome, but our experience is deeper features like this are difficult to complete without the Plotly maintainers leading the effort. Sponsorship range: $5k-$10k What Sponsorship includes:
Please include the link to this issue when contacting us to discuss. |
Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson |
When box plot is the only trace, all statistics (min,q1,median,q3,max) are displayed on hover.
If you add another trace as a subplot, only median is displayed on hover.
This only happens with horizontal box plot as far as I know.
Reproduction:
https://codepen.io/kotwgarnku/pen/gdxaPN
The text was updated successfully, but these errors were encountered: