Problems with "Reds", "Turbo", "Inferno" (...?) colorscales
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 18.8k
- Forks
- 2.8k
- Ø Merge
- 16 Std. 26 Min.
- Gemergte PRs (30 T.)
- 21
Beschreibung
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":



The "Turbo", on the other hand, shows up like a "coolwarm" colorscale instead:

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:

Probably there are others too.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginnen Sie mit dem verlinkten Plotly-Python-Dropdown-Beispiel und der gemeldeten Plotly.update-Reproduktion; vergleichen Sie dann die Ergebnisse für Reds, Turbo und Inferno mit der Dokumentation zu den integrierten sequenziellen Farbskalen. Verfolgen Sie, wo diese Farbskalen ausgewählt oder umgewandelt werden; als erledigt gilt die Aufgabe, wenn sie in beiden gemeldeten Update-Pfaden mit den dokumentierten Paletten gerendert werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, python
- Bereich
- data-visualization
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100