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
I am rendering multiple plotly charts in shiny with output_widget.
Since there is a lot of data in the plots, I use go.scattergl instead of go.scatter to create a plotly plot.
Now I run into the problem that when the charts are rendered too often, I get the following message in the console:
WARNING: Too many active WebGL contexts. Oldest context will be lost.
And when that happens, the contexts of the diagrams will be lost successively.
Is there a solution or workaround to prevent my charts from "disappearing"?
Or is a solution for this already planned?
The text was updated successfully, but these errors were encountered:
A reproducible example would be helpful, but I suspect this ultimately would be something that needs to be fixed in plotly.
Also, plotly v6.0 recently came out, so it might be worth checking if that release fixes this problem.
Anyway, I'll be closing here since I don't think shinywidgets is responsible for this, but feel free to open another issue if you can come up with a reproducible example with plotly v6.0
Description
I am rendering multiple plotly charts in shiny with output_widget.
Since there is a lot of data in the plots, I use go.scattergl instead of go.scatter to create a plotly plot.
Now I run into the problem that when the charts are rendered too often, I get the following message in the console:
WARNING: Too many active WebGL contexts. Oldest context will be lost.
And when that happens, the contexts of the diagrams will be lost successively.
Is there a solution or workaround to prevent my charts from "disappearing"?
Or is a solution for this already planned?
The text was updated successfully, but these errors were encountered: