plotly / plotly/plotly.py

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

Open
#3,796 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
16h 26m
Merged PRs (30d)
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:

Documentation references:

Thank you,
Chad

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with plotly.graph_objects.Table and the linked Plotly table documentation to understand the existing horizontal-alignment behavior and the requested vertical-alignment option. The issue names no source files or tests, so locate the Table implementation and its coverage first. Done means table cells support vertical alignment and the documented behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.