Closed
Description
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
But not with Plotly.react
:
https://codepen.io/alexcjohnson/pen/xWwrXR?editors=0010
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