-
-
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
Scattergl traces with multiple colors set sometimes incorrectly format points in other scattergl traces #3232
Comments
Good eye, both codepens work with v1.35.2:
In both cases, the options computed in looking at
Yeah good eye, but maybe changes to Here's the diff between the |
Ah, this line seems problematic. |
Here's my attempt: https://github.com/plotly/plotly.js/compare/scattergl-maxColors-4096 which uses https://github.com/plotly/plotly.js/compare/scattergl-maxColors-4096 - but unfortunately breaks the Ha, I think I know why Dima used Doing this with 16 bits would give: |
Well, 255 colors is for sure not enough. Looks like we could theoretically reach 16384 with just one WebGL texture. @archmoj would you be interested in looking at this further? |
Interesting. Let me have a look. |
Hey guys can we possibly create a problematic test case in regl-scatter2d mocks (after we merge gl-vis/regl-scatter2d#15)?
The issue seems to be something different. |
see https://codepen.io/alexcjohnson/pen/JeXOGX?editors=1010
The large point above the line should be orange (as it is in the legend) but it ends up blue, taking its color from the previous trace.
Fiddling around with the settings, there seem to be various ways to trigger or avoid this behavior. See also https://codepen.io/donolingerPHX/pen/qQZdxE?editors=1010
Seems to have come in with v1.36.0 - perhaps #2499?
The text was updated successfully, but these errors were encountered: