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

Feature request: Let each legend control their own inside position #6113

Closed
Yunuuuu opened this issue Sep 17, 2024 · 1 comment
Closed

Feature request: Let each legend control their own inside position #6113

Yunuuuu opened this issue Sep 17, 2024 · 1 comment

Comments

@Yunuuuu
Copy link

Yunuuuu commented Sep 17, 2024

knitr::opts_knit$set(upload.fun = identity)
library(ggplot2)
ggplot(mpg, aes(displ, hwy, colour = cty, size = year)) +
    geom_point(aes(alpha = cyl)) +
    guides(
        colour = guide_colourbar(
            position = "inside",
            legend.position.inside = c(0.2, 0.2)
        ),
        size = guide_legend(
            position = "inside",
            legend.position.inside = c(1, 1)
        )
    )

image

Created on 2024-09-17 with reprex v2.1.0
~

@Yunuuuu Yunuuuu changed the title Let each legend control their own inside position Feature request: Let each legend control their own inside position Sep 17, 2024
@teunbrand
Copy link
Collaborator

Thanks for the suggestion! I think this is a duplicate of #5712, so I'll close this here to keep discussion in one place.

@teunbrand teunbrand closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2024
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

2 participants