Skip to content

Coloring for markers using scattergl isn't working properly #1909

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

Closed
Vampiro opened this issue Jul 24, 2017 · 6 comments
Closed

Coloring for markers using scattergl isn't working properly #1909

Vampiro opened this issue Jul 24, 2017 · 6 comments
Labels
bug something broken
Milestone

Comments

@Vampiro
Copy link

Vampiro commented Jul 24, 2017

Coloring for markers using scattergl isn't working properly.

Example using scattergl where x values range from 0-999 and y values are random from 0-1. Coloring should be clearly defined gradients from red to green to blue as you go up in y:
https://codepen.io/anon/pen/gxOeNw

You can see that it kind of starts out alright, but later in x the colors become jumbled, they should be clearly defined based on y values. If we comment out the scattergl line, colors are as they should be:
https://codepen.io/anon/pen/vJYRoN

@etpinard etpinard added the bug something broken label Jul 24, 2017
@etpinard etpinard added this to the On-par gl2d milestone Jul 24, 2017
@etpinard
Copy link
Contributor

cc @dfcreative and #1869

@dy dy mentioned this issue Jul 24, 2017
52 tasks
@tylertucker202
Copy link

Hello! I've noticed that if you round the color to one decimal point will sometimes clear the issue. Can you confirm this?

@etpinard
Copy link
Contributor

etpinard commented Jan 8, 2018

This appears to have been fixed by @dfcreative 's awesome new regl-based scattergl coming in version 1.33.0:

image

@tylertucker202
Copy link

This is fantastic news. I've been writing a web-app that uses scatter GL to view ocean data on color plots. You can see the temperatures plot, you have dark color markers showing on the surface. Switching to 'scatter' make this disappear.
http://www.argovis.com/catalog/platforms/5902386/page
I will be anxiously awaiting version 1.33.0. Thanks for the good work.

@dy
Copy link
Contributor

dy commented Jan 16, 2018

Added mock in 889237f

etpinard pushed a commit that referenced this issue Jan 17, 2018
etpinard pushed a commit that referenced this issue Jan 17, 2018
etpinard pushed a commit that referenced this issue Jan 17, 2018
etpinard pushed a commit that referenced this issue Jan 17, 2018
@etpinard
Copy link
Contributor

fixed by #2258

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

4 participants