Skip to content

Commit 25fcc3a

Browse files
authored
Update R/theme-current.R
1 parent 3ae9d8a commit 25fcc3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/theme-current.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ theme_get <- get_theme
9393
#' @rdname get_theme
9494
#' @param new new theme (a list of theme elements). Sets theme to the default ([theme_grey()]) if `new` isn't supplied.
9595
#' @export
96-
set_theme <- function(new = null) {
96+
set_theme <- function(new = NULL) {
9797
new <- new %||% ggplot_global$theme_default
9898
check_object(new, is_theme, "a {.cls theme} object")
9999
old <- ggplot_global$theme_current

0 commit comments

Comments
 (0)