-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scattergl markers are not rendered but you can hover over them #3751
Comments
|
@archmoj on the order of 1M. The actual one where I noticed this originally was ~300k points dropping down to ~15k points. |
Right the cross-over should be at 1e5 pts. Something must be up with plotly.js/src/traces/scattergl/index.js Lines 77 to 85 in 636a356
|
More info -> gl-vis/regl-scatter2d#19 |
Scanning through that...if I understood correctly, newPlot will not show this issue? I tried it out in that codepen I included and the issue goes away. Is that a valid stopgap? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
cc #2334 |
cc #3405 |
This issue appears to be (going to be) fixed (in the next release v.1.49.0) after bumping |
I doubt it. We shouldn't be calling plotly.js/src/traces/scattergl/calc.js Line 67 in d75e956
|
But that line is not called in the codepen demonstrating the issue. |
Right, because your https://codepen.io/MojtabaSamimi/pen/VJddPx has (only) 1e4 points. See https://codepen.io/etpinard/pen/EBRpqz which has 1e5 points - and appears buggy still. |
Closed by #4323 . |
Thanks |
The behavior here is similar to a previous bug I hit (issue 2999) but that bug's reproducing case no longer reproduces for me so I think this might be the same behavior from a different issue.
If I plot a large number of markers with scattergl, it works fine. If I then plot a subset, it does not. The transition point seems to be ~100k markers. That is, once I plot more than ~100k, plotting below ~100k shows the issue.
Here is a really simple reproducing example:
https://codepen.io/rhamner/pen/XQpRbx
If I use 'scatter' instead of 'scattergl' it works fine, but our actual use case is much larger than 100k points so scatter doesn't work.
The browser generates hundreds of these warnings:
[.WebGL-00000080DCBEE1F0]GL ERROR :GL_INVALID_OPERATION : glDrawArrays: attempt to access out of range vertices in attribute 0
I'm using chrome Version 73.0.3683.103 (Official Build) (64-bit). This specific sample code does not show the issue in firefox, but I do hit the issue in firefox with our actual code and I'm not sure why.
The text was updated successfully, but these errors were encountered: