-
-
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
Scatterpolargl fixes #3098
Scatterpolargl fixes #3098
Conversation
... when no gl traces are present on graph.
... just use trace._length instead (which is far less confusing).
- and use same TOO_MANY_POINTS axis expansion logic as scattergl - stash style opts and extend them with position opts during plot.
Ready for review again. |
src/traces/scattergl/index.js
Outdated
@@ -129,13 +126,10 @@ function calc(gd, trace) { | |||
|
|||
// stash scene ref | |||
stash._scene = scene; | |||
stash.index = scene.count; | |||
stash.index = scene.count++; |
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.
this of course works... but I can't say I like using ++
mid-assignment
function calc(container, trace) { | ||
var layout = container._fullLayout; | ||
function calc(gd, trace) { | ||
var fullLayout = gd._fullLayout; |
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.
ha yeah, that's certainly clearer! 🍰
Beautiful! With the slight exception of #3098 (comment) but I won't hold up the 💃 for that. |
fixes #3094 and brings
scatterpolargl
axis expansion on-par withscatterpolar
.cc @plotly/plotly_js