Skip to content

Commit

Permalink
Explicit call to ggplot2::ggproto
Browse files Browse the repository at this point in the history
  • Loading branch information
eliocamp committed Jan 20, 2024
1 parent 9098623 commit 3d8ef95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/new-scale.R
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ bump_aes_scale <- function(scale, new_aes) {
if (inherits(scale$guide, "Guide")) {
# Make clone of guie
old <- scale$guide
new <- ggproto(NULL, old)
new <- ggplot2::ggproto(NULL, old)

# Change available aesthetics
new$available_aes <- change_name(new$available_aes, old_aes, new_aes)
Expand Down

0 comments on commit 3d8ef95

Please sign in to comment.