Skip to content
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

In certain cases, a scatter3d trace line disappears #691

Closed
monfera opened this issue Jun 25, 2016 · 1 comment
Closed

In certain cases, a scatter3d trace line disappears #691

monfera opened this issue Jun 25, 2016 · 1 comment
Assignees
Labels
bug something broken

Comments

@monfera
Copy link
Contributor

monfera commented Jun 25, 2016

The connecting line on scatter3d may thin away to even zero width, depending on the angle of view. In this example, the trace has no gaps but a gap looks to be present:
image
Possible reason is this: the rendering seems to represent a line with a flat band (thin, long 2D rectangle). The WebGL renderer attempts to always transform this rectangle such that its cross-section is perpendicular to the line of sight, giving the approximate appearance of a cylindrical line. In specific angles, numerical issues may cause this transform to not work properly; maybe the 'gymbal lock' issue. In this case, a solution may be to pick another reference vector, or switch to a quaternion based rotation which is free of the gymbal lock issue. Will need to look into it to confirm.

Loosely related issue in scatter3d: if there's a gap in the data, but connectgaps is set to true, then the rotation seems to not be in effect for the point with the null value - the line vanishes over its length.
image

@etpinard
Copy link
Contributor

etpinard commented Oct 29, 2018

Fixed in #3163


cc @archmoj make sure to close corresponding issue(s) after merging your PRs. Note you can also use

https://help.github.com/articles/closing-issues-using-keywords/

to tell Github to close issues automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

3 participants