-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Plotly.react sequence and transforms #2508
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
Comments
Related to #2470? |
Two tests to add, probably to
|
A new rule I'm considering implementing & enforcing, to help ensure transforms work correctly with all trace types:
@etpinard thoughts? |
I like it. It sounds like a nice way to 🔒 the current behavior. If ever we start supporting transforms on 2D arrays, we can reassess. |
Yes - just looking at
Anyway trying to generalize this to other 2D trace types seems tough, given all the different combinations of 1D & 2D data available within a single trace type, with some of the 1D arrays matching columns of the 2D, some matching rows, some allowing 1D or 2D, etc etc... So either each transform would have to be specifically extended for each 2D trace type it wants to support or we'd need a way to describe (in the schema?) which dimensions of which attributes relate to each other. So with |
Great 👌 |
The sequence of calls to
Plotly.react
laid out in this pen https://codepen.io/nicolaskruchten/pen/pLamVv?editors=1010 causes display problems in the last step. The buttons allow you to step through the sequence using a mix ofnewPlot
andreact
to taste.The text was updated successfully, but these errors were encountered: