-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Virtual WebGL Workaround Fails On 3d Plots #7298
Comments
Could you possibly fork and tweak this codepen to replicate the bug you noticed? Alternatively you may use fig2pen to convert a python example to codepen. Please note in both cases you should add the Thank you! |
FYI apparently virtual-webgl has compatibility issues with Bokeh too, though I haven't investigated myself holoviz/panel#7375 |
@archmoj just sent you a slack - please dive into this one. |
@archmoj I have not been able to reproduce it in codepen yet. I am going to see if I can isolate any further differences between codepen and the environment we are experiencing the bug in. Two attempts: |
Ah. I figured it out. From this thread:
Our layouts do not have width & height set. If we set them explicitly in the layout, the chart renders.
|
@archmoj Here is a codepen reproducing the bug: https://codepen.io/samhinshaw/pen/gbYwgvz The root cause appears to be specific interactions with flexbox and the parameter |
Thank you @samhinshaw for the replicating the bug 🙏 |
@gvwilson FYI - samhinshaw and I are now working together a fix at plotly.js level at our Vancouver office. |
@samhinshaw |
Plotly's documentation recommends using the
virtual-webgl
script to support more plots than the browser's WebGL context limit allows. This works great for displaying many large scatter charts, but with this in place 3D plots, surface plots, and mesh3d plots (and likely others) do not seem to render.https://plotly.com/python/webgl-vs-svg/
The text was updated successfully, but these errors were encountered: