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. |
| "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.
Hmm. Do we really want to bump point-cluster?
There was a problem hiding this comment.
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.
Right, so can we wait until we need to bump regl-scatter2d to bump point-cluster?
There was a problem hiding this comment.
... unless you feel comfortable with dy/point-cluster@8419f96
There was a problem hiding this comment.
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
rgbwith an extraalphavalue could cause some traces such asscatter3d&scatteglto enable opacity (as ifrgbawas applied).This happens while color-normalize parses alpha for
rgbsimilar 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: