Skip to content

Wrong colorscales YIOrRd and YIGnBu #14

Closed
@alexcjohnson

Description

@alexcjohnson

We have an uppercase I in "YIOrRd" and "YIGnBu" - should be a lowercase L for yellow: "YlOrRd" or "YlGnBu".

At some point plotly.js had these typos in its built-in colorscales. We fixed that, and included a backward-compatibility fix that converts from I to l when used with Plotly.newPlot or Plotly.react, but it doesn't work with Plotly.restyle or Plotly.relayout (which I believe still get some use from plotly.py when editing an existing figure)

We should update the docs to only use the correct spelling.
Originally reported in plotly/plotly.js#4613

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions