-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Axis visible in 3D #1599
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
Axis visible in 3D #1599
Conversation
- and replace it by Lib.extendFlat({}, /* */)
- no need to coerce attribute that don't have an effect
cc @rreusser |
src/plots/gl3d/layout/convert.js
Outdated
this._defaultLineTickLength = arrayCopy1D(this.lineTickLength); | ||
this._defaultTickPad = Lib.extendFlat([], this.tickPad); | ||
this._defaultLabelPad = Lib.extendFlat([], this.labelPad); | ||
this._defaultLineTickLength = Lib.extendFlat([], this.lineTickLength); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't this just .slice()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right. Good 👁️ thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done in bc0f890
Looks great to me - I can see this (in both 2D and 3D) being pretty nice for certain abstract plots! 💃 after my one comment. |
Definitely! Nice solution! |
to be merged in #1595
This PR implements
scene.(x|y|z)axis.visible
at the convert step.