We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ae9d8a commit 25fcc3aCopy full SHA for 25fcc3a
R/theme-current.R
@@ -93,7 +93,7 @@ theme_get <- get_theme
93
#' @rdname get_theme
94
#' @param new new theme (a list of theme elements). Sets theme to the default ([theme_grey()]) if `new` isn't supplied.
95
#' @export
96
-set_theme <- function(new = null) {
+set_theme <- function(new = NULL) {
97
new <- new %||% ggplot_global$theme_default
98
check_object(new, is_theme, "a {.cls theme} object")
99
old <- ggplot_global$theme_current
0 commit comments