axis_scale='unit' centres on the mean, so skewed data sit off-centre
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 22/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- matplotlib, plotly, python
調査の方向性
The centring logic for axis_scale='unit' is the starting point, and the issue traces it to the mean rather than the midrange. Run tests/test_gh141_marker_line_smoothing.py and tests/test_plot_audit_b1.py::TestStaticLineDataFidelity first, since these five tests encode the current placement and will fail under the change. The issue defers this to 1.2 and it touches every 2-D and 3-D figure, so confirm scope with maintainers before editing.
索引モデルが issue の本文から書いたものです。
説明
With the default axis_scale='unit', each axis is centred on the data's mean, not its midrange. Skewed data therefore sit off-centre in the plot box.
Measured during the 1.1 release review (candidate c433b8f0):
hyp.plot(...)2-D on a random-walk fixture (feature tourPLOT-basic-*): the trajectory fills the top two-thirds of the box and the bottom third is empty. Matplotlib and plotly behave the same.weights_sample: every axis mean maps to about +0.13. Per axis, 72–76% of points sit above the centre, and 41% fall in the upper octant.- A lognormal array: means map to about −0.85, and 0.7% of points per axis sit above the centre. The data fill the lower corner.
Centring each axis on its midrange (min + max) / 2 would fill the box. It changes how every 2-D and 3-D figure looks. On a patched copy, 5 tests that encode the current placement fail: 3 in tests/test_gh141_marker_line_smoothing.py and 2 in tests/test_plot_audit_b1.py::TestStaticLineDataFidelity. Every gallery image, tutorial output and screenshot would need regenerating, so this is deferred from 1.1 to 1.2.
- 主要言語
- Python
- スター
- 1.9k
- フォーク
- 164
- 平均マージ
- 2時間 46分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ContextLab/hypertools のほかの issue
-
enhancement low effort
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
ContextLab/hypertools#225 · コメント 2 件 ·
-
add soundtrackオープンmedium effort
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
ContextLab/hypertools#163 · コメント 2 件 ·
-
awesome enhancement help wanted high effort pie in the sky
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
ContextLab/hypertools#113 · コメント 4 件 ·
-
on-the-fly decodingオープンlow priority medium effort
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
ContextLab/hypertools#112 · コメント 2 件 ·
-
low priority medium effort
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
ContextLab/hypertools#111 · コメント 2 件 ·
ContextLab/hypertools の issue をすべて見る
似ている issue
-
Examples say cnxオープンdocumentation embedded
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
Alishahryar1/free-claude-code#2111 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
namespace operations
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
EclipseFdn/open-vsx.org#14373 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信