Default plot theme.

theme_default(p, panel.grid.minor = element_line(linetype = "dashed"), ...)

Arguments

p

A ggplot.

...

additional element specifications not part of base ggplot2. In general, these should also be defined in the element tree argument.

Examples

class(theme_default(ggplot2::ggplot(iris)))
#> [1] "gg"     "ggplot"