Regression bug fix of scatter2d traces not to change other traces colors#3315
Closed
archmoj wants to merge 3 commits into
Closed
Regression bug fix of scatter2d traces not to change other traces colors#3315archmoj wants to merge 3 commits into
archmoj wants to merge 3 commits into
Conversation
archmoj
commented
Dec 10, 2018
| "regl-error2d": "^2.0.5", | ||
| "regl-line2d": "^3.0.12", | ||
| "regl-scatter2d": "^3.0.6", | ||
| "regl-scatter2d": "git://github.com/gl-vis/regl-scatter2d.git#22c218464af8a50a0fbbd8e6a983edb24f21fdab", |
Contributor
Author
There was a problem hiding this comment.
Contributor
|
Have you ran any benchmarks comparing with-palette and w/o palette performance? I'd be ok (not sure I'm @dy would be though) merging this thing if performance slows down by "a little", but I'd like know by how much. |
Contributor
Author
|
old: 4730.064ms var i, RGBA = [], X = [], Y = []; |
Contributor
Author
|
And using a code that only generates var i, RGBA = [], X = [], Y = []; |
Contributor
Author
Contributor
|
The benefit here is not performance, but memory optimization - for <= 256 colors we require a single |
Contributor
Contributor
Author
Contributor
Author
|
Closed in regard with #3328. But I prefer not to delete the branch for further improvements. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Fixes #3232 and https://github.com/plotly/phoenix-integration/issues/232 by disabling unstable palette color algorithm in regl-scatter2d.
Although some improvements are made in another branch and PR; that still requires more rewrites and possibly passing two palettes to the shaders.
While this could be a very annoying bug for Plotly users, this PR disabled the buggy palette mechanism in the module so that it may be fixed in the next minor version.
Also few other minor improvements are made in the
regl-scatter2dmodule.@etpinard
@alexcjohnson