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

Legend groups #13

Merged
merged 12 commits into from
Jun 2, 2024
Merged

Legend groups #13

merged 12 commits into from
Jun 2, 2024

Conversation

teunbrand
Copy link
Owner

Adds grouped legends

devtools::load_all("~/packages/gguidance")
#> ℹ Loading gguidance
#> Loading required package: ggplot2

df <- msleep[c(9, 28, 11, 5, 34, 54, 64, 24, 53), ]

ggplot(df) +
  aes(bodywt, awake, colour = paste(order, name)) +
  geom_point() +
  guides(colour = "legend_group")

Created on 2024-06-02 with reprex v2.1.0

@teunbrand teunbrand merged commit 11339b4 into main Jun 2, 2024
7 checks passed
@teunbrand teunbrand deleted the legend_group branch June 2, 2024 10:45
@teunbrand teunbrand restored the legend_group branch September 7, 2024 07:05
teunbrand added a commit that referenced this pull request Sep 7, 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

Successfully merging this pull request may close these issues.

1 participant