Normalized Histogram with Marginal producing the wrong plot
オープン
まだ誰も着手していません。
bug
P3
sev-4
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
Using plotly.express (px) to plot a Histogram with barnorm = 'percent' and marginal = 'histogram' produces a plot where the barnorm is ignored and the raw counts are plotted. I think the output should be a histogram with barnorm = 'percent' and a marginal histogram with the regular counts.
px.histogram(pd.DataFrame({'x': np.random.normal(0, 1, 100),
'col': np.random.choice(['A', 'B'], 100)}),
x='x', color='col', barnorm='percent', marginal='histogram')
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、提供されている plotly.express のヒストグラム例を実行し、メインのヒストグラムとその周辺ヒストグラムを比較します。plotly.express のヒストグラム処理の経路を追って barnorm がどこで適用されるかを特定し、メインプロットではパーセント正規化が使用される一方で、周辺ヒストグラムでは生のカウントが維持されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 42/100