R/themes.R
theme_default.Rd
Default plot theme.
theme_default(p, panel.grid.minor = element_line(linetype = "dashed"), ...)
A ggplot.
additional element specifications not part of base ggplot2. In general, these should also be defined in the element tree argument.
element tree
class(theme_default(ggplot2::ggplot(iris))) #> [1] "gg" "ggplot"