Need better example for drawing legends outside of the grid
オープン
- 主要言語
- Go
- スター
- 3k
- フォーク
- 201
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
https://github.com/gonum/plot/issues/133 pointed to the heatmap example, but the legend offset code is inscrutable to a newbie like me.
I suspect that example is only useful if you actually understand gonum/plot already.
A clear example showing a simple scatterplot with one point and one label, and then the same example with the legend outside the box, would be quite helpful.
I even tried Google Gemini, but it confidently provided an example that did not work.
コントリビューションガイド
調査の方向性
まず、issue 133 で参照されている heatmap の例を読み、凡例のオフセット処理のコードを確認します。1 つの点と 1 つのラベルを含む単純な散布図を使った、分かりやすい例を追加し、その後に凡例をボックスの外側に配置した同じ例を追加します。例が初心者にも理解しやすく、示されているとおりに動作すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- go
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100