add vertical alignment for cells in Plotly Table (plotly.graph_objects.Table)
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
Hi,
I am working on a table with custom styling, and it seems that vertical alignment of cells is not possible using the plotly.graph_objects.Table, only horizontal alignment.
I posted a question on the Plotly Community site to see if anyone knew of a way to do vertical alignment, but they confirmed it isn't possible with the code as is (link to post).
Any thoughts about how to update the current code to enable vertical alignment? I am not too familiar with the Plotly code base and plan on cloning a copy to experiment with adding this feature.
It seems like at least a few others have wanted this feature as well:
- https://stackoverflow.com/questions/67037418/plotly-table-vertical-align-text-in-cells
- https://stackoverflow.com/questions/66698852/plotly-table-how-to-align-header-vertical-and-horizontal
Documentation references:
- https://plotly.com/python/table/
- https://plotly.github.io/plotly.py-docs/generated/plotly.graph_objects.Table.html
Thank you,
Chad
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 plotly.graph_objects.Table und der verknüpften Plotly table documentation, um das bestehende Verhalten der horizontalen Ausrichtung und die angeforderte Option für die vertikale Ausrichtung zu verstehen. Der issue nennt keine source files oder tests. Ermitteln Sie daher zuerst die Table implementation und ihre Abdeckung. Als abgeschlossen gilt die Aufgabe, wenn table cells die vertikale Ausrichtung unterstützen und das dokumentierte Verhalten verifiziert ist.
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
- 30/100