add simple independent axes for facet_row and facet_col
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
Right now it is possible to have independent axes labels/ticks for facets using this trick: https://stackoverflow.com/questions/60997189/how-can-i-make-faceted-plots-in-plotly-have-their-own-individual-yaxes-tick-labe
However, it is kind of hard to remember the 4-line solution by heart.
Is it possible to add something like independent_facet_y=True in the kwargs for plots that support facet? For plots where e.g., facet is age and y axis is height, it's very difficult to interpret data since the smaller values are basically invisible without doing this.
Ideally setting the flag would display axes ticks for each plot and scale the plots according to each facet's range.
For example, seaborn has sharex and sharey arguments that basically do this https://seaborn.pydata.org/generated/seaborn.catplot.html#seaborn-catplot
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
Überprüfe die vorhandenen Plot-APIs, die Facets unterstützen, sowie den verlinkten Stack-Overflow-Workaround, und vergleiche anschließend das angeforderte Verhalten mit den Optionen sharex und sharey von seaborn. Die Arbeit ist abgeschlossen, wenn eine klar definierte Option für unabhängige Achsen für die zutreffenden Facet-Plots durchgängig unterstützt wird, mit Ticks und Skalierung pro Facet wie beschrieben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- plotly, 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
- 35/100