support arrays of color and colorscale for line and fillcolor of `plotly.graph_objects.Scatter`
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 18.3k
- Forks
- 2k
- Ø Merge
- 2 T. 12 Std.
- Gemergte PRs (30 T.)
- 28
Beschreibung
Coming from plotly.py. Since this is about the plotly.graph_objects module, the issue is posted here.
Currently, only plotly.graph_objects.Scatter.marker, plotly.graph_objects.Scatter.marker.gradient and plotly.graph_objects.Scatter.marker.line supports assigning colors by arrays of color along with colorscale.
Could the same color-setting techniques be allowed for plotly.graph_objects.Scatter.line and plotly.graph_objects.Scatter.fillcolor as well?
p.s. Links to the current documentation:
- The following supports arrays of color with
colorscale:
- The following doesn't support arrays of color with
colorscale:
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
Beginne damit nachzuverfolgen, wie Scatter.marker, marker.gradient und marker.line Farbarrays mit einer colorscale akzeptieren, und vergleiche anschließend die Behandlung von Scatter.line und fillcolor. Bestätige das erwartete Verhalten in den vorhandenen Dokumentationslinks und füge Abdeckung hinzu, die zeigt, dass Arrays für beide Eigenschaften funktionieren, ohne skalare Farben zu beeinträchtigen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- data-visualization
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100