-
-
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
Enabling transparent webgl draws for scatter3d trace when colors are transparent #3496
Conversation
…lors added a baseline to lock bug issue 3492 one new baseline change correct baseline fixup
Hmm. How does this relate to #3138 ? |
Good call. |
@etpinard are you interested to include this in 1.44.3? |
I'm confused by your answer in #3496 (comment) Have you done any before/after benchmarking? |
OK. In this PR we only activated the alpha rendering channels for those 3 gl-vis modules in case of colors being in rgba format with any alpha less than 1. |
Before codepen. |
I think some of them are transparent. |
Ha I see, this is "opacity" from the "a" in rgba. So we're not talking about "true" opacity but "whitening" opacity (see https://github.com/plotly/phoenix-integration/issues/10#issuecomment-164824843 for a past discussion on the topic). This PR seems like an ok fix for #3492 🎉 I do have one question for @archmoj in -> gl-vis/gl-scatter3d#16 (comment) |
Cool. 💃 Let's get this in for 1.44.3 ! |
Fix #3492
3D Scatter transparency not activated by marker.color or marker.line.color as well as line.color and errorbars alpha channel.
This is fixed here by patching gl-vis modules.
@plotly/plotly_js