Skip to content

Commit 80ce7b5

Browse files
authored
Update doc/python/webgl-vs-svg.md
1 parent c167bec commit 80ce7b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/python/webgl-vs-svg.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ In addition to the above limitations, the WebGL-powered version of certain SVG-p
6363

6464
*New in 5.19*
6565

66-
If you encounter WebGL context limits when rendering many WebGL-based figures on one page, you can use [Virtual WebGL](https://github.com/greggman/virtual-webgl).
66+
Most browsers have a limit of between 8 and 16 WebGL contexts per page. Each Plotly WebGL-based figure uses one context, so if you exceed your browser's limit, not all figures will render and you'll see an error. In the console in Chrome, for example, you'll see the error: "Too many active WebGL contexts. Oldest context will be lost".
67+
68+
If you encounter WebGL context limits when rendering WebGL-based figures on one page, you can use [Virtual WebGL](https://github.com/greggman/virtual-webgl).
6769

6870
To use it, in the environment where your Plotly figures are being rendered, load the Virtual WebGL script, "https://unpkg.com/virtual-webgl@1.0.6/src/virtual-webgl.js", for example, using a `<script>` tag.
6971

0 commit comments

Comments
 (0)