plot: plots fails to render with oversized glyphs
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- go
調査の方向性
Issue にリンクされている Go playground の再現コードから始め、生成された p1.svg と空の p2.svg の出力を比較します。Go 1.21.1 と Gonum/plot 0.13.0 または 0.14.0 を使ってローカルで再現し、その後、SVG 出力と PNG 出力の両方で現在の動作をテストします。2 つ目のボックスプロットが正しくレンダリングされるか、空のプロットの代わりに操作がエラーを返せば完了です。
索引モデルが issue の本文から書いたものです。
説明
What are you trying to do?
Generate a box plot visualization on a canvas of a specified width and height.
What did you do?
https://go.dev/play/p/EzwxtwaRRnA
Unfortunately, this times out while fetching gonum, so I cannot verify that it builds and runs correctly in the Go playground. However I have tested it locally with go 1.21.1 darwin/arm64. It reproduces for me against both the 0.13.0 and 0.14.0 tags.
What did you expect to happen?
I expected both p1.svg and p2.svg to contain the generated box plots. If for some reason gonum/plot was unable to render the plot correctly with the specified dimensions, I would have expected some kind of error, rather than a nil error and an empty output.
What actually happened?
p1.svg contains the expected plot, but p2.svg is blank, with only the axes being rendered. I will attach copies of p1.svg and p2.svg as generated on my local machine.
p1:
p2:
I also tried using PNG outputs rather than SVG, but the results were the same, so I do not believe this issue is SVG-specific.
What version of Go and Gonum/plot are you using?
$ go version
go version go1.21.1 darwin/arm64
$ cat go.mod | grep gonum
require gonum.org/v1/plot v0.13.0
(it is also broken on 0.14.0)
Does this issue reproduce with the current master?
I tried testing against 342a5cee2153b051d94ae813861f9436c5584de2, which shows up in go.mod as require gonum.org/v1/plot v0.14.1-0.20230902105700-342a5cee2153 for me. The behavior was the same as what I described.
I believe this reproduces against the current master branch at time of writing.
- 主要言語
- 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
-
documentation ready
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
Needs Triage
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
solongate/agent-security#154 ·
メンテナーはふだん 1 日以内に返信
-
tree: RootStyle is applied twice to the root node対応中かも @PhotoDotPi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
charmbracelet/lipgloss#772 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信