Skip to content

Commit

Permalink
fix wrong theme for the development version of ggplot2
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Jan 6, 2025
1 parent ddae17c commit 0db6d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ggplot-theme.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ default_theme <- function() {
# Check if user has set the theme
is_theme_unset <- function() {
isTRUE(all.equal(
.subset2(ggfun("ggplot_global"), "theme_default"),
complete_theme(.subset2(ggfun("ggplot_global"), "theme_default")),
complete_theme(theme_get())
))
}
Expand Down

0 comments on commit 0db6d32

Please sign in to comment.