plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

Problems with "Reds", "Turbo", "Inferno" (...?) colorscales

Open filipesmg opened this issue 3 years ago • 0 comments

There seems to be an issue with the "Reds" and "Turbo" colorscales. I couldn't find an existing issue about this, so here is how to reproduce: I just got this example from plotly page: https://plotly.com/python/dropdowns/#update-several-data-attributes And added the "Reds" and "Turbo" colorscales.

The "Reds" seem to work, but it is inverted when comparing to the "Blues" and "Greens": Screenshot 2022-08-20 at 16 25 34Screenshot 2022-08-20 at 16 31 13Screenshot 2022-08-20 at 16 25 45

The "Turbo", on the other hand, shows up like a "coolwarm" colorscale instead: Screenshot 2022-08-20 at 16 25 58

These two are different than the ones described on the documentation here: https://plotly.com/python/builtin-colorscales/#builtin-sequential-color-scales

I had similar issues when using "Plotly.update" with plotly.js to update the coloscales.

edit: Also the "Inferno" shows as the "coolwarm" one: Screenshot 2022-08-20 at 17 09 21 Probably there are others too.

filipesmg avatar Aug 20 '22 14:08 filipesmg