-
-
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
Scatter3d and scattergl handling rgb colors with extra alpha values #3904
Conversation
This is now |
I think patching You can try making a PR right away, but I suspect you'll have to make that an option in order to get it merged. |
"flatten-vertex-data": "^1.0.2", | ||
"glslify": "^7.0.0", | ||
"image-palette": "^2.1.0", | ||
"is-iexplorer": "^1.0.0", | ||
"object-assign": "^4.1.1", | ||
"parse-rect": "^1.2.0", | ||
"pick-by-alias": "^1.2.0", | ||
"point-cluster": "^3.1.4", | ||
"point-cluster": "^3.1.5", |
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.
Hmm. Do we really want to bump point-cluster
?
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.
It has already been applied within the master branch of regl-scatter2d
: gl-vis/regl-scatter2d@cda45ae. Yet we don't have a new reg-scatter2d release.
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.
Right, so can we wait until we need to bump regl-scatter2d
to bump point-cluster
?
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.
Yes. Exactly.
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.
... unless you feel comfortable with dy/point-cluster@8419f96
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.
Ah I see, regl-scatter2d
uses color-parse
. Yep this package-lock diff makes perfect sense. Sorry for the confusion 👌
@archmoj will it be possible to get this PR in 1.48.0? Do you need anything else from Dima? |
The only blocker is this PR: colorjs/color-normalize#4. |
…regl-scatter2d, regl-line2d, regl-error2d and few more
@etpinard finally this thing is now reviewable. |
💃 thanks! |
@archmoj Looks like this PR broke
adding Lines 31 to 38 in b6edba5
we get: which appears to come from Other info:
Maybe bumping down |
... and of course, this will be ⛔ blocking ⛔ the release of |
I am on it. |
Fixes #3902 .
Colors passed as
rgb
with an extraalpha
value could cause some traces such asscatter3d
&scattegl
to enable opacity (as ifrgba
was applied).This happens while color-normalize parses alpha for
rgb
similar torgba
.Also dependencies of various gl modules including regl-splom, regl-scatter2d, regl-line2d, regl-error2d, gl-text are patched and updated in this PR.
@plotly/plotly_js
TODO: