Skip to content

Request for plotly_webglcontextlost event handler #220

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

Closed
markovist opened this issue Dec 10, 2020 · 1 comment · Fixed by #222
Closed

Request for plotly_webglcontextlost event handler #220

markovist opened this issue Dec 10, 2020 · 1 comment · Fixed by #222

Comments

@markovist
Copy link
Contributor

I make use of WebGL graphs and will sometimes lose the context when interacting with them heavily (i.e. making multiple large scattergl selections consecutively).

It would be very useful to have a handler for the plotly_webglcontextlost event so that users can choose to handle these errors gracefully and redraw their graphs if necessary. It appears to be a fairly straightforward addition.

@dmt0
Copy link
Contributor

dmt0 commented Dec 10, 2020

@markovist you're welcome to submit a PR :)
You can check the last 2-3 PRs that were merged for a template.

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

Successfully merging a pull request may close this issue.

2 participants