-
-
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
Add missing fields to fullData #2850
Conversation
... instead of clearing them entirely, this is more consistent with what the react-chart-editor expects
- this piece here is called by Colorbar.supplyDefaults, but colorbars do not have a container-wide 'color' attribute unlike axes, so the comparison with layoutAttributes.color was off. - this bug did not affect the baselines as this routine is called again during Colorbar.draw with a set container color.
src/traces/box/plot.js
Outdated
@@ -304,7 +304,7 @@ function plotBoxMean(sel, axes, trace, t) { | |||
|
|||
var paths = sel.selectAll('path.mean').data(( | |||
(trace.type === 'box' && trace.boxmean) || | |||
(trace.type === 'violin' && trace.box && trace.meanline) | |||
(trace.type === 'violin' && (trace.box || {}).visible && (trace.meanline || {}).visible) |
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.
can't this just be trace.box.visible && trace.meanline.visible
given the changes below?
... this reduces the occurance of intermittent failure in the gl2d_click suite on etpinard's laptop
Editor devs, is adding violins to the chart editor a high priority? If so, I'm thinking of simply mutating the computed |
Ooops, #2850 (comment) was meant for #2834 |
@alexcjohnson this PR isn't enough to cover all the items in #2834, but it does fix a few things. It would be nice to release this in next week's Tagging as reviewable. |
Yep, this is great, no need to wait on the stragglers before merging this. 💃 |
covers a few items in #2834
Does not yet address pie
marker.colors
and violinspan
andbandwidth
(see #2834 (comment) for more on that topic).cc @alexcjohnson