Bug in updating express visualization with facet row and animation frame
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
Description
Running facet row plot with an animation frame using plotly express will fail updating the features in case of values missing in one category.
Reproduce
- plotly : 4.1.1
import plotly.express as px
df = px.data.tips()
fig = px.scatter(
df,
x="total_bill",
y="tip",
facet_row="day",
animation_frame="time",
# facet_col="time"
)
fig.show()
Results

expected : When setting the cursor back to dinner, it fails to update the row which had missing values in day for lunch.
I have no idea if this is related to plotly express, widgets or something else. Thank you !
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, indem du die bereitgestellte plotly.express.scatter-Reproduktion mit facet_row="day" und animation_frame="time" ausführst. Verfolge anschließend den Update-Pfad von Facet und Animation und überprüfe dann, dass das Zurückbewegen des Cursors zu dinner die Zeile, in der lunch-Werte fehlten, ohne Fehler aktualisiert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- 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