Skip to content

non-linear box/violin hover label quirks #2194

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

Closed
alexcjohnson opened this issue Dec 6, 2017 · 1 comment · Fixed by #3043
Closed

non-linear box/violin hover label quirks #2194

alexcjohnson opened this issue Dec 6, 2017 · 1 comment · Fixed by #3043
Labels
bug something broken

Comments

@alexcjohnson
Copy link
Collaborator

Horizontal violins have some odd hover label behavior. Labels are horizontal, not tipped as they are for horizontal boxes and bars, and (perhaps related) they're anchored to the middle of the violin, not the edge (or off the edge) as they are for vertical violins
screen shot 2017-12-06 at 11 59 07 am

And at least in violin_non-linear the KDE label disappears past the max point, even though the KDE line is still there.
screen shot 2017-12-06 at 11 59 35 am

cc @etpinard

@alexcjohnson alexcjohnson added the bug something broken label Dec 6, 2017
@etpinard
Copy link
Contributor

etpinard commented Jan 30, 2018

This seems to happen on non-linear axes for both violin and box traces.

Mock box_grouped_horz + Plotly.restyle(gd, 'type', 'violin') appears to work fine. Whereas violin_non-linear + Plotly.restyle(gd, 'type', 'box') also shows the problem.


EDIT the above claim isn't true. The bugs happens on subplots with a single box or violin trace. More info in #2970 (comment)

@etpinard etpinard changed the title horizontal violin hover label quirks non-linear box/violin hover label quirks Feb 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants