-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Repeatedly calling newPlot
with scatter3d
causes graphs to disappear
#2423
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
cc @dfcreative |
Not much we can do here I think. 1 second is probably not enough time for browsers to garbage collect a WebGL context, so yeah inevitably the context limit will be reached. |
@dfcreative please don't spend time on this until April. |
Is there anything I can do here? 1 second is just to demonstrate the problem. In Dash, graphs update frequently and if they end up disappearing irregularly then we can't reliably use any GL plots in Dash. |
i.e. are there any workarounds to this issue like calling |
|
Solves issues from plotly/plotly.js#2423
Solves issues from plotly/plotly.js#2423
Added |
Closing as we won't attempt to solve this issue with |
Solves issues from plotly/plotly.js#2423
Solves issues from plotly/plotly.js#2423
Originally reported in https://community.plot.ly/t/webgl-context-lost-after-updating-10-times/8581/4.
I created a reproducable example in https://codepen.io/chriddyp/pen/xYmbVQ?editors=0010. After a few plots, if I navigate away from the page and then return, the original plot is no longer visible. For the original reporter, it seems like the plot disappeared while they were viewing the app (they didn't need to navigate away).
The text was updated successfully, but these errors were encountered: