plotter: HeatMap with Rasterized smooths the heatmap
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- go
調査の方向性
まず plotter.HeatMap のラスタライズされたパスと、plotter.Image の使用箇所を調査します。離散セルデータと連続フィールドの違いを再現し、変更を加える前に、意図された補間動作または API を判断します。完了条件は、不要な平滑化を強制せずにベクトルセルのアーティファクトを除去することです。
索引モデルが issue の本文から書いたものです。
説明
The addition of the rasterized option for the plotter.HeatMap was added to remove the lines between heat map cells resulting from vector drawing artifacts. The approach take was to make a heatmap where each heat map cell is a single pixel; the rasterisation. This small image is then rescaled to the size of the plot. This has the consequence that the image is rescaled with interpolation due to the use of plotter.Image which has this effect. In some cases, for example when you are plotting a continuous field you are likely to want this, but in cases where there is a discrete cell for each value, this is not correct. What the Rasterized option actually is a Smoothed option.
The original issue was raised to remove the artifactual lines, which is orthogonal. One solution is to have an unexported image rescaling function that does not interpolate. However, this loses the nice property of smooth scalar fields when they are wanted unless additional API knobs are added.
- 主要言語
- Go
- スター
- 3k
- フォーク
- 202
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
gonum/plot のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 32/100
-
plot/plotter: NewHist(binPoints) panic when a small negative number is used対応中かも @SashaMIT が 15 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area/frontend/library-panels automated-triage type/bug type/ux
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
microsoft/azure-linux-image-tools#954 ·
メンテナーはふだん 1 日以内に返信
-
panic "time: missing Location in call to Time.In" on MySQL via aws_rds since v0.8.0対応中かも @tylertechgraves が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
open-policy-agent/opa-control-plane#452 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[bug bash] Actor logs are controlled by Kubernetes RBAC on the pool namespace, not atespace rolesオープンarea/cli area/security bug-bash kind/docs
難易度 1/5 1〜3時間 初心者へのやさしさ 80/100
agent-substrate/substrate#3242 ·
メンテナーはふだん 1 日以内に返信