Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set non-overlapping legend position by default #444

Open
lmiq opened this issue Jan 20, 2022 · 0 comments
Open

Set non-overlapping legend position by default #444

lmiq opened this issue Jan 20, 2022 · 0 comments

Comments

@lmiq
Copy link

lmiq commented Jan 20, 2022

Having the default legend position to assume a minimum-overlapping position with the data would be nice. Matplotlib already does that, and apparently (see JuliaPlots/Plots.jl#3399 (comment)) Plots already passes the :best symbol to the backends. So if GR had that option, this could be the default behavior for GR as well.

I would be willing to work on this if I'm give any clue on where is that defined.

A tenative code for doing that (which may be put in Plots, actually), is here: https://discourse.julialang.org/t/making-plots-place-its-legend-in-a-better-spot/74986/11?u=leandromartinez98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant