Plotly.js: Coloring for markers using scattergl isn't working properly

Created on 24 Jul 2017  路  6Comments  路  Source: plotly/plotly.js

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

bug

All 6 comments

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

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

image

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

emanuelsetitinger picture emanuelsetitinger  路  3Comments

pynklu picture pynklu  路  3Comments

mithi picture mithi  路  3Comments

etpinard picture etpinard  路  3Comments

tim-sauchuk picture tim-sauchuk  路  3Comments