Skip to content
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

Fix hoverAvoidOverlaps for zoomed-in violin traces #3889

Merged
merged 1 commit into from
May 23, 2019

Conversation

etpinard
Copy link
Contributor

... so that hoverAvoirOverlaps in Fx.hover can do its job
    properly.
fig.layout.width = 700;
fig.layout.height = 450;

Plotly.plot(gd, fig)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't reproduce the bug using a simpler mock, so I added the data/layout used in https://codepen.io/etpinard/pen/wberrP?editors=1010 as a mock.

This test here currently yields

image

on master.

@antoinerg
Copy link
Contributor

Nice fix @etpinard

💃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants