dash icon indicating copy to clipboard operation
dash copied to clipboard

Graphs may not show sometimes

Open yuhanchen0711 opened this issue 1 year ago • 3 comments

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

yuhanchen0711 avatar Oct 04 '24 20:10 yuhanchen0711

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

gvwilson avatar Oct 07 '24 12:10 gvwilson

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/[email protected]/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.

alexcjohnson avatar Oct 07 '24 12:10 alexcjohnson

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

gvwilson avatar Oct 08 '24 11:10 gvwilson