When combining Plotly plots using subplots, the middle plot shrinks
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- R
- Sterne
- 2.7k
- Forks
- 641
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
When combining Plotly plots using subplots, if ncol is 2 and nrow is greater than 2, the height of the middle row is smaller compared to the top and bottom plots. Similarly, if nrow is 2 and ncol is greater than 2, the height of the middle column is smaller compared to the first and last plots. This discrepancy occurs because the margin values are not applied consistently; the top margin value is not applied to the top plot, and the bottom margin value is not applied to the bottom plot. Is there any workaround to get all plot in same height
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
Der Issue nennt keine Dateien, Tests oder Einstiegspunkte. Beginne damit, die ungleichen Subplot-Höhen mit ncol und nrow größer als zwei zu reproduzieren, und verfolge dann, wie die Subplot-Ränder berechnet und angewendet werden. Erledigt ist die Aufgabe, wenn die Zeilen oder Spalten bei Beibehaltung der angeforderten Ränder gleiche Plot-Höhen haben und es eine Regressionstestabdeckung für beide Fälle gibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- r
- 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