-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Low precision of scatter3d plot #5346
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
Comments
any update on this? |
Just came up again... the root issue here is that in WebGL numbers generally are single-precision floats, whereas elsewhere in JS they're double-precision. To fix this we would need to rescale all the input data prior to sending it to WebGL. Possible, but a fairly big project and may have performance implications. |
Hi - we are tidying up stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for a while, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. If you'd like to submit a PR, we'd be happy to prioritize a review, and if it's a request for tech support, please post in our community forum. Thank you - @gvwilson |
I have this data that varies slowly in magnitude. If I plot this using Plotly's 2D
scatter
plot then it comes out okay, but get the following weired behaviour when I try to plot it usingscatter3d
. It seemsscatter3d
can't consider the slight change in value and plots it as a straight line with constant value.Here's a sample script to generate the issue.
The text was updated successfully, but these errors were encountered: