ScatterGL plot fails with WebGL errors if more than 16 symbols are used.
See original GitHub issueUsing plotly-latest, a ScatterGL plot will fail and throw WebGL errors if more than 16 symbols are used in the plot.
Repro case can be found at: http://jsfiddle.net/brian428/d7oh4j2m/
I tested and found that the magic number seems to be 16. With 16 symbols, the plot seems to work fine. With 17 symbols, large numbers of WebGL errors appear. For reference, the errors say:
WebGL: INVALID_ENUM: activeTexture: texture unit out of range
bind @ plotly-latest.js:69560
batch @ VM6468:3138
E.stats @ plotly-latest.js:69665
Scatter.drawItem @ plotly-latest.js:68498
Scatter.draw @ plotly-latest.js:68454
draw @ plotly-latest.js:190442
exports.redrawReglTraces @ plotly-latest.js:117493
exports.drawData @ plotly-latest.js:117430
lib.syncOrAsync @ plotly-latest.js:106537
plot @ plotly-latest.js:112017
exports.call @ plotly-latest.js:147449
exports.layoutReplot @ plotly-latest.js:117373
lib.syncOrAsync @ plotly-latest.js:106537
relayout @ plotly-latest.js:113531
wrappedEdit @ plotly-latest.js:114061
exports.call @ plotly-latest.js:147449
handleCartesian @ plotly-latest.js:95936
(anonymous) @ plotly-latest.js:96808
Not sure if it matters, but I’m using the latest Chrome (80.0.3987.132) on Win 10 x64. Also tested with Firefox 74.0 with the same results.
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
plotly.graph_objects.Scattergl — 5.11.0 documentation
The data visualized as scatter point or lines is set in x and y using the WebGL plotting engine. Bubble charts are achieved...
Read more >Python Figure Reference: scattergl Traces - Plotly
Scattergl trace is a graph object in the figure's data list with any of the named ... If a single string, the same...
Read more >Plotly Scattergl is unresponsive - python - Stack Overflow
I have used plotly's scatter and scattergl extensively for the last 2-3 ... but when I switch to scattergl, the html plot is...
Read more >Untitled
Mar 11, 2020 · Using plotly-latest, a ScatterGL plot will fail and throw WebGL errors if more than 16 symbols are used in...
Read more >NEWS
Specifying an english locale no longer results in error (#1686). ... When using shinytest to test a shiny that contains plotly graph, false...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@archmoj sorry it took a bit to return to this, but trying out latest (1.54.5), still seeing the issue. In addition, as number of symbols goes up, more and more points are not displayed. Hover data points to them, but the points themselves are not shown.
Updated repro: http://jsfiddle.net/brian428/d7oh4j2m/
I went back through previous versions and it looks like it started around 1.33.0 or 1.34.0. I didn’t get the errors with 1.32.0.