add vertical alignment for cells in Plotly Table (plotly.graph_objects.Table)
Personne n'a encore pris cette issue.
- Langage dominant
- Python
- Étoiles
- 18.8k
- Forks
- 2.8k
- Merge moyen
- 16 h 26 min
- PR mergées (30 j)
- 21
Description
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
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par plotly.graph_objects.Table et la Plotly table documentation associée afin de comprendre le comportement existant de l’alignement horizontal et l’option d’alignement vertical demandée. L’issue ne nomme aucun source file ni test, localisez donc d’abord la Table implementation et sa couverture. Le travail est terminé lorsque les table cells prennent en charge l’alignement vertical et que le comportement documenté est vérifié.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- data-visualization
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 30/100