You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We'd like to add an remove traces in each animation frame, however AFAICT plotly requires the number of traces to be constant across all frames. Changing the number of traces in an animation frame gives the following error
Uncaught (in promise) TypeError: Cannot read property '_module' of undefined
at Object.plots.transition (plotly-latest.js:151918)
at nextFrame (plotly-latest.js:132610)
at doFrame (plotly-latest.js:132654)
at beginAnimationLoop (plotly-latest.js:132658)
at queueFrames (plotly-latest.js:132576)
at plotly-latest.js:132771
at new Promise (<anonymous>)
at Plotly.animate (plotly-latest.js:132505)
at Object.exports.executeAPICommand (plotly-latest.js:142494)
at plotly-latest.js:121413
Is this in fact the expected behaviour? I didn't see this limitation documented anywhere. Do you have any ideas how to work around this?
The text was updated successfully, but these errors were encountered:
nzjrs
changed the title
Animation (frames) can not add traces
Animation frames must all have the same number of traces
Sep 27, 2017
Relevant pen: https://codepen.io/anon/pen/KXaGda
We'd like to add an remove traces in each animation frame, however AFAICT plotly requires the number of traces to be constant across all frames. Changing the number of traces in an animation frame gives the following error
Is this in fact the expected behaviour? I didn't see this limitation documented anywhere. Do you have any ideas how to work around this?
The text was updated successfully, but these errors were encountered: