Skip to content

Commit

Permalink
Added gg class to labs(). Fixes #5553.
Browse files Browse the repository at this point in the history
  • Loading branch information
phispu committed Aug 15, 2024
1 parent 7572d09 commit fb9b413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/labels.R
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ labs <- function(..., title = waiver(), subtitle = waiver(), caption = waiver(),
args <- args[!duplicated(names(args))]
args <- rename_aes(args)

structure(args, class = "labels")
structure(args, class = c("labels", "gg"))
}

#' @rdname labs
Expand Down

0 comments on commit fb9b413

Please sign in to comment.