plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

Feature request to add vertical alignment for cells in Plotly Table (plotly.graph_objects.Table)

Open chad-mm opened this issue 3 years ago • 0 comments

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

chad-mm avatar Jun 24 '22 22:06 chad-mm