Center Title by default for px.imshow
オープン
初心者向け
まだ誰も着手していません。
feature
P3
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
Issue:
Many chart-making functions such as px.line, px.scatter, px.bar center the title by default (desired), but the px.imshow function displays the title on the left margin instead (not desired).
import plotly.express as px
fig = px.imshow(mat, title="My Title")
Current Workaround:
fig.update_layout(title={'text': "My Title", 'x':0.485, 'xanchor': 'center'}) # manually center the title
Proposed Solution:
The px.imshow function should center the title by default.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Issue でリンクされている px.imshow のエントリーポイントから始め、タイトルの処理を px.line、px.scatter、px.bar と比較してください。Plotly Express の画像 Figure に関する既存のテストを確認し、タイトルがデフォルトで中央揃えになるようにカバレッジを更新して、期待される layout が生成されることを検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- data-visualization
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 62/100