add vertical alignment for cells in Plotly Table (plotly.graph_objects.Table)
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
plotly.graph_objects.Table とリンク先の Plotly table documentation から始め、既存の水平配置の動作と要求されている垂直配置オプションを理解します。issue では source files や tests が指定されていないため、まず Table implementation とその coverage を見つけます。完了条件は、table cells が垂直配置をサポートし、documented behavior が検証されていることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- data-visualization
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100