-
-
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
Invisible traces in 1.17.0+ when using Plotly.redraw #942
Comments
I experienced the same thing. I just didn't know how to describe it... Thanks @tim-hutchinson ! |
Thanks very much for the report! We made numerous changes to the update paths during the animate PR (#802 - release in In the meantime, I suggest replacing your Now that we added a |
With Are there differences between |
I see. Thanks for the info.
That said, |
- to bring it on-par with Plotly.plot - fixes #942 by properly supplying uid to new traces which are now required by the Scatter.plot method.
In my use of Plotly, I frequently end up with an empty placeholder created while data is retrieved, then update it with new data using Plotly.redraw(). After 1.17, only one trace is drawn in a scatter plot when following this method. The legend and tooltips are created as expected, but the actual trace is missing from the chart. A quick check indicates this is also true if calling through Plotly.update()
CodePen
I've checked past versions and it looks like it's working as of 1.16.3, but not from 1.17.0 - 1.17.2
CodePen working in 1.16.3
The text was updated successfully, but these errors were encountered: