Skip to content

Commit 9b473aa

Browse files
committed
Update webgl-vs-svg.md
1 parent 2fc83f8 commit 9b473aa

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
@@ -62,7 +62,9 @@ In addition to the above limitations, the WebGL-powered version of certain SVG-p
6262

6363
*New in 5.19*
6464

65-
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".
65+
Most browsers have a limit of between 8 and 16 WebGL contexts per page. Plotly WebGL-based figure may use multiple WebGL contexts, but generally you'll be able to render between 4 and 8 figures on one page.
66+
67+
If you exceed the browser limit on WebGL contexts, some figures won't 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".
6668

6769
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).
6870

0 commit comments

Comments
 (0)