plotly / plotly/plotly.py

add simple independent axes for facet_row and facet_col

オープン
#4,530 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

feature P3
主要言語
Python
スター
18.8k
フォーク
2.8k
平均マージ
16時間 26分
マージ済み PR(30日)
21

説明

Right now it is possible to have independent axes labels/ticks for facets using this trick: https://stackoverflow.com/questions/60997189/how-can-i-make-faceted-plots-in-plotly-have-their-own-individual-yaxes-tick-labe

However, it is kind of hard to remember the 4-line solution by heart.

Is it possible to add something like independent_facet_y=True in the kwargs for plots that support facet? For plots where e.g., facet is age and y axis is height, it's very difficult to interpret data since the smaller values are basically invisible without doing this.

Ideally setting the flag would display axes ticks for each plot and scale the plots according to each facet's range.

For example, seaborn has sharex and sharey arguments that basically do this https://seaborn.pydata.org/generated/seaborn.catplot.html#seaborn-catplot

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

既存のファセット対応プロット API と、リンク先の Stack Overflow の回避策を確認し、要求された動作を seaborn の sharex オプションおよび sharey オプションと比較します。対象となるファセットプロットで、明確に定義された独立軸オプションが一貫してサポートされ、説明どおりファセットごとの目盛りとスケーリングが行われれば、作業は完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
plotly, python
領域
data-visualization
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。