gonum / gonum/plot

Need better example for drawing legends outside of the grid

Open
#802 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.