Legend makes it associated with the subplot with dynamically responsive design and the ability to enable turn off individual trace
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 current legend_tracegroupgap implementation is in pixel.
Desired behavior:
if I have 2 subplots (col=2, row=1) to be able to enable legend_per_subplot = True
Default vertical legend on the right side:
subplot(2 traces) | Legend with 2 traces
subplot(4 traces) | Legend with 4 traces
The workaround with legend_tracegroupgap does not match the need as they are expressed in pixels instead of domain-like subplots.
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 damit, die aktuelle Implementierung von legend_tracegroupgap und die Zuordnung von Legenden zu Subplots in der Python-Graphing-Bibliothek zu überprüfen. Die Arbeit ist abgeschlossen, wenn ein zweispaltiges, einzeiliges Subplot-Layout Legenden pro Subplot aktivieren kann, wobei jede Legende nur die Traces aus ihrem zugeordneten Subplot anzeigt und eine responsive Positionierung statt einer pixelbasierten Abstandsberechnung verwendet.
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
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100