plotly / plotly/plotly.py

add button for switching between two figures

Offen
#3,994 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

feature P3
Vorherrschende Sprache
Python
Sterne
18.8k
Forks
2.8k
Ø Merge
16 Std. 26 Min.
Gemergte PRs (30 T.)
21

Beschreibung

Hi

In many situations researchers need to switch from a figure with various traces and even maybe various layout to another figure. It should be really helpful if we could assign fig object to the buttons instead of modifying data using args.

I mean that imagine I have fig1 and fig2. So, by clicking on a button the I could witch from fig1 to fig2 on same plot window but displayed alternatively. That would be great if instead of entering or modifying traces and arguments in args we could only assign fig1 or fig2.

With all the best,
Bijan

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

Beginne mit der Überprüfung der in der Anfrage involvierten figure- und button-APIs, insbesondere wie fig1, fig2, traces und args derzeit dargestellt werden. Ermittle, wo das Umschalten zwischen vollständigen figures im selben Plot-Fenster hingehören würde. Erledigt ist die Aufgabe, wenn ein button zwischen fig1 und fig2 wechseln kann, ohne traces oder args manuell zu ändern.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
data-visualization
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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