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?
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?