Skip to content

Fix hoverAvoidOverlaps for zoomed-in violin traces#3889

Merged
etpinard merged 1 commit into
masterfrom
violin-hover-overlap-fixup
May 23, 2019
Merged

Fix hoverAvoidOverlaps for zoomed-in violin traces#3889
etpinard merged 1 commit into
masterfrom
violin-hover-overlap-fixup

Conversation

@etpinard

Copy link
Copy Markdown
Contributor

... so that hoverAvoirOverlaps in Fx.hover can do its job
    properly.
@etpinard etpinard added bug something broken status: reviewable labels May 22, 2019
fig.layout.width = 700;
fig.layout.height = 450;

Plotly.plot(gd, fig)

Copy link
Copy Markdown
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
Copy Markdown
Contributor

Nice fix @etpinard

💃

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 this pull request may close these issues.

2 participants