-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Leftover traces in animations #3931
Comments
We don't animate trace enter/exit at the moment cc #932 So transitions with More in #1688 |
so when you say "animate trace exit" you mean "we leave them there on purpose even if they're no longer present in the active frame"? That's what I'm seeing right now, and the markers that are left aren't hoverable... |
Setting redraw to true does fix this, but is very janky, as the animation appears to 'stall' at every frame |
removing the plotly.js/src/traces/scatter/plot.js Lines 80 to 82 in d75e956
seems to solve the problem and doesn't make any test fail. I can't remember what Ricky envisioned with that |
cc @antoinerg who may have copied that if(isFullReplot) {
join.exit().remove();
} block in |
Here's the https://codepen.io/etpinard/pen/MWgMEmx?editors=0010 after @antoinerg's bar transition work in #4180 and #4186.
So, the bar version above does clear the "leftover" trace correctly, but looks like it tries to transition from the base trace (w/o a |
Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson |
In the following pen https://codepen.io/nicolaskruchten/pen/KLEprV?editors=0010 the trace in
data
has nouid
but inframes
there areuids
... hitting 'play' results in the original trace still being visible but not hoverable. I would expect thatanimate()
would clean up the original rendering there?The text was updated successfully, but these errors were encountered: