-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
BUG: Figure breaks after animating a property of an array element #2228
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
Indeed the @etpinard the animation function
where ie. its As I'm not too familiar with the animation internals and it's not going through the |
The fix must be done inside the |
Thanks @etpinard! Currently Planning to add a branch there that'd handle |
Circling back to this one, just jotting down where I am, also if someone has a firm idea on the best way for fixing it, please tell me. During animation, the change In contrast, when calling the
I think this is the cause for the differing outcome between animation and restyling. As both of these spots are part of multi-hundred line code step sequences, and both are rather critical, I'd like to get input on how to proceed. My natural inclination would be to understand why animations don't use the same code bit for the "patching" as restyling, which might be written in the code and I missed it, or would need to ask; then, depending on the answer, either make animations call this gentler |
It seems that something goes wrong when using
Plotly.animate
to change a property of an array element. I hit this while working on a custom trace type, but it is reproducible on the Parallel Coordinate trace.Note: I understand animated transitions are not supported for the Parallel Coordinates trace, but my expectation is that an animate command shouldn't cause an error and should behave like a relayout/restyle command.
Parallel Coordinate Example Pen: https://codepen.io/anon/pen/ZvKGxW
Summary:
line.color
works finedimensions[0].constraintrange
works finedimensions[0].constraintrange
breaks the plot (Nothing shows up afterward)Example code for reference:
The text was updated successfully, but these errors were encountered: