Skip to content

Commit

Permalink
prevent guide from clogging up
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Sep 20, 2024
1 parent c6181fd commit 84cc964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/guide-.R
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Guide <- ggproto(
labels <- as.list(labels)
}

key <- data_frame(mapped, .name_repair = ~ aesthetic)
key <- data_frame(!!aesthetic := mapped)
key$.value <- breaks
key$.label <- labels

Expand Down

0 comments on commit 84cc964

Please sign in to comment.