R/theme_wc.R

Defines functions theme_wc

Documented in theme_wc

#' Classic theme
#'
#' Similar to the default theme, but with larger serif font and no gridlines.
#'
#' @param base_size base font size
#' @param grid show grid lines
#' @param serif use serif font
#'
#' @return [`ggplot2::theme`] object
#' @export
theme_wc <- function(base_size = 10, grid = FALSE, serif = TRUE) {
    th <- theme_wl(base_size, grid, serif)
    update_all_geom_defaults(classic = TRUE)
    th
}
dbarrows/emplot documentation built on Nov. 27, 2020, 8:09 a.m.