plotly / plotly/plotly.py

[BUG]: TOZEROY FILL IS FILLING AREAS OF THE PLOT THAT HAS NO DATA IN IT

Offen
#5,632 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug good first issue good for agent P2 size: 3
Vorherrschende Sprache
Python
Sterne
18.8k
Forks
2.8k
Ø Merge
16 Std. 26 Min.
Gemergte PRs (30 T.)
21

Beschreibung

So, I have currently implemented the tozeroy fill (the area under the curve) to a feature in one of the datasets I'm working with
When I set the fill the tozeroy, it fills under the areas of the plot that currently have no data in it, tozeroy currently joins a polygon from the bottom edge of a point that has data to the top of another edge that has data in it to cover that empty data trace section.
When I set the fill to 'none', plotly obeys the rule of not covering for the spots that has no data in it as shown in the picture below
The areas I circled is where the problem lies as shown in the picture below

Thank you

Image

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Der Bericht nennt keine Datei, keinen Test, kein ausführbares Beispiel und keinen Datensatz. Beschaffe daher zunächst eine minimale Python-Reproduktion des tozeroy-Plots mit fehlenden Datenpunkten. Vergleiche sein Verhalten mit auf none gesetztem fill und verfolge den relevanten Plotly-Rendering-Einstiegspunkt. Erledigt ist dies, wenn tozeroy Lücken ohne Daten nicht ausfüllt und ein Regressionstest diesen Fall abdeckt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
plotly, python
Bereich
data-visualization
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.