Skip to content

BUG: After a 'pan' restyle function doesn't color points #1526

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
destradafilm opened this issue Mar 29, 2017 · 2 comments · Fixed by #1536
Closed

BUG: After a 'pan' restyle function doesn't color points #1526

destradafilm opened this issue Mar 29, 2017 · 2 comments · Fixed by #1536
Assignees
Labels
bug something broken

Comments

@destradafilm
Copy link

Using the plotly codepen for 'click and double-click event'
http://codepen.io/plotly/pen/WoZOdq

If you click a point, it restyles the point colors. But if you 'pan' the plot and then click the point, it doesn't restyle. Only after reseting the plot does it show the point with the new color
pan then restyle bug

@etpinard
Copy link
Contributor

Ok interesting. Thanks for reporting. This is probably related to #1488 in which your restyle call doesn't trigger a per-pt recalc.

By restyling only marker.color instead of the whole marker container, things are appear to be working correctly: http://codepen.io/etpinard/pen/ZempLG

@etpinard
Copy link
Contributor

will be fixed in #1536

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