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

transforms + Plotly.react bug #2470

Closed
alexcjohnson opened this issue Mar 12, 2018 · 1 comment
Closed

transforms + Plotly.react bug #2470

alexcjohnson opened this issue Mar 12, 2018 · 1 comment
Labels
bug something broken

Comments

@alexcjohnson
Copy link
Collaborator

A user encountered a problem with Plotly.react and transforms, changing pie aggregation & labels simultaneously. The following examples start with A/B/C and switch to X/Y/Z on clicking the button.

Works fine using Plotly.restyle:
https://codepen.io/alexcjohnson/pen/geaRej?editors=0010
screen shot 2018-03-12 at 5 23 07 pm

But not with Plotly.react:
https://codepen.io/alexcjohnson/pen/xWwrXR?editors=0010
screen shot 2018-03-12 at 5 24 20 pm

However Plotly.react works fine using the same aggregation that's built into pies since #2117:
https://codepen.io/alexcjohnson/pen/BroZNx?editors=0010

reported by @Snazzypants in plotly/react-plotly.js#62

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

No branches or pull requests

2 participants