Update Method Example Broken
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
The updatemenu method update is broken. It only updates the layout attributes. If you use the same code but change the method to restyle, it updates the data attributes as expected, but obviously this won't work if you want to update both data and layout attributes.
Recreate
This is present for both the custom button and custom dropdown examples on the plotly examples page. You can see the problem by interacting with the examples.
Versions
I have this behavior on plotly 5.5. My friend has this problem in version 4.14. The behavior is the same in my versions of Chrome, Firefox, Edge, and VS Code's Jupyter interface.
Edit: I updated the title after getting some more info.
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 den Beispielen für benutzerdefinierte Schaltflächen und benutzerdefinierte Dropdowns in der Plotly-Dropdowns-Dokumentation und reproduzieren Sie das Verhalten mithilfe der Methode update. Vergleichen Sie dies mit restyle und überprüfen Sie, dass die abgeschlossene Korrektur sowohl Daten- als auch Layout-Attribute in den Beispielen aktualisiert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- data-visualization
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100