dash icon indicating copy to clipboard operation
dash copied to clipboard

[BUG] When i increase more than 8 plots then in same page then getting sad emoji

Open dhananroy opened this issue 4 years ago • 4 comments
trafficstars

Thank you so much for helping improve the quality of Dash!

We do our best to catch bugs during the release process, but we rely on your help to find the ones that slip through.

Describe your context Please provide us your environment, so we can easily reproduce the issue.

  • replace the result of pip list | grep dash below
dash                 0.42.0
dash-core-components 0.47.0
dash-html-components 0.16.0
dash-renderer        0.23.0
dash-table           3.6.0
  • if frontend related, tell us your Browser, Version and OS

    • OS: [e.g. iOS]
    • Browser [e.g. chrome, safari]
    • Version [e.g. 22]

Describe the bug

A clear and concise description of what the bug is.

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots or screen recording to help explain your problem. image

dhananroy avatar Aug 06 '21 08:08 dhananroy

Could it be related to this?

https://plotly.com/python/webgl-vs-svg/

Context limits: browsers impose a strict limit on the number of WebGL "contexts" that any given web document can access. WebGL-powered traces in plotly can use multiple contexts in some cases but as a general rule, it may not be possible to render more than 8 WebGL-involving figures on the same page at the same time.

geophpherie avatar Aug 21 '21 18:08 geophpherie

face the similar issues Following dsah app is created to display 13 charts based on the dropdown down options. After choosing the options the graph become distorted. On the left I see a sad smiley face. The underlying data is there, if I hover on the white surface I can find the invisible data points.

Using chrome Line 58: dash==2.6.2 Line 59: dash-bootstrap-components==1.2.1 Line 60: dash-core-components==2.0.0 Line 61: dash-html-components==2.0.0 Line 62: dash-renderer==1.9.1 Line 63: dash-table==5.0.0

image

jaugustine04 avatar Oct 25 '22 05:10 jaugustine04

Yes I'm assuming this is about webgl -> https://github.com/plotly/dash/issues/2740

alexcjohnson avatar Feb 21 '24 19:02 alexcjohnson

@dhananroy Did you try adding https://unpkg.com/[email protected]/src/virtual-webgl.js to external_scripts (or downloading that and putting it in your assets folder)?

archmoj avatar Mar 25 '24 15:03 archmoj