(regression?) Missing data in scattergl plot when I go juste above 10000 points

Hi,

I just updated plotly.js from 1.30 to the latest 1.33, and my plot is broken.

I’m rendering about 75000 points with a scattergl plot, and after the update, it looks like most of the points are not rendered at all. What is odd though, is that when I hover over the plot, I can still see popups showing when my mouse is over places where points are supposed to be.

After trying differents things, I noticed everything is rendering fine up to 10000 data points. If I go just above, say 10001, my plot is broken and most of the points are not rendered!

Everything worked fine with plotly.js 1.30.

I made two versions of my code, one with 10000 points, and the other with 10001. See for yourself: https://0.x2a.yt/other/private/plotly-test/10000.html
https://0.x2a.yt/other/private/plotly-test/10001.html

Does anyone know what is happening and how I can fix it?

Thanks for the report. Would you mind reposting this on https://github.com/plotly/plotly.js/issues/new ?

Thank you!

Sure!

I wasn’t certain it actually was a bug…

Here is the github issue: https://github.com/plotly/plotly.js/issues/2334

1 Like