Skip to content
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

Disappearing WebGL Contexts #147

Open
bhahn-bhs opened this issue Jun 7, 2024 · 0 comments
Open

Disappearing WebGL Contexts #147

bhahn-bhs opened this issue Jun 7, 2024 · 0 comments

Comments

@bhahn-bhs
Copy link

  • shinywidgets version: 0.3.2
  • Python version: 3.12
  • Operating System: Linux (Ubuntu)

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant