-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
GL plots seem to be using up multiple GL contexts with Plotly 1.37.1 #2614
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
Duplicate of #2333 |
Thanks, I missed that one. Would it help you if add my repro case to that ticket? |
Also just to be clear, we had been on 1.35 I believe. So it seems like maybe something changed between 1.35 and 1.37 that made this worse. Maybe the addition of Splom? |
@brian428 sorry for the wait. We just merged #2662 which makes A little more info on the topic: we use two WebGL contexts per scattergl (and splom) graph to improve selection (via select-box and lasso) performance. Since Now, ticket #2333 has some thoughts on sharing WebGL contexts across graph I'll close this issue. But please feel free to comment on #2333. |
Previously, we were able to show 7-8 or more WebGL plots at once. With 1.37.1, we're hitting the browser GL context limit (typically 16) much earlier. When showing 7 plots, the first two immediately lose their GL contexts and appear as blank.
Here is a repro case: http://jsfiddle.net/brian428/fqhb7kk9/
It seems like Plotly is using up multiple GL contexts for each scattergl plot. With 7 plots, there are 5 console warnings about losing contexts, so it appears that each scattergl plot is using 3 GL contexts for some reason.
We need to show multiple plots together (and allow each one to be individually manipulated by the user), so this is a blocking issue. Can someone take a look?
The text was updated successfully, but these errors were encountered: