plotly / dash

Data Apps & Dashboards for Python. No JavaScript Required.
https://plotly.com/dash
MIT License
21.53k stars 2.07k forks source link

Graphs may not show sometimes #3027

Open yuhanchen0711 opened 1 month ago

yuhanchen0711 commented 1 month ago

Sometimes I may put an array of express.scatter3d and have it return as a child. Unfortunately, in this case sometimes some of the graphs cannot load. Screen Shot 2024-10-04 at 4 46 28 PM

gvwilson commented 1 month ago

Thanks for your bug report - can you please provide a minimal reproducible example so that we know exactly what you're trying and have somewhere to start debugging? thanks - @gvwilson

alexcjohnson commented 1 month ago

I'm going to guess this is about running out of webgl contexts https://plotly.com/python/webgl-vs-svg/#multiple-webgl-contexts.

Looks like you're in Dash @yuhanchen0711 - see my comment in https://github.com/plotly/dash/issues/2740:

It can already be done by adding https://unpkg.com/virtual-webgl@1.0.6/src/virtual-webgl.js to external_scripts (or downloading that and putting it in your assets folder), so we could just document that, but it would be nicer to have a built-in way to do this.

gvwilson commented 1 month ago

I will transfer this issue to the Dash repository and flag it as needing documentation - thank you.