add label alignment in nodes in Sankey plot
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
Dear devs,
Recently, I have been playing around with Sankey plots in plotly. This tool is really great. I have been looking for a specific feature that I couldn't find in the API and in fact I believe it does not exist, yet.
Would it be possible to specifiy the alignment of the labels in the nodes of a sankey plot?
Specifically in vertical orientation, I believe the nodes would look much prettier, if the label may be horizontally aligned with the box.
I would imagine additional keywords for the node-dictionary like "horizontalalignment" and "verticalalignment".
(As it is the case for matplotlib textboxes :
https://matplotlib.org/3.1.1/tutorials/text/text_props.html)
Possibly, this is actually easily implemented, but I could not really figure out, how to do that myself.
Is it possible to add this feature?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue は Sankey ノードラベルの水平方向および垂直方向の配置を追加することに関するものですが、ソースファイル、テスト、エントリーポイントは指定されていません。まず Sankey ノード API の場所を特定し、リンクされている Matplotlib のテキストプロパティのリファレンスを確認してください。垂直方向の Sankey プロットで配置オプションがサポートされ、ドキュメント化されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- data-visualization
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100