Set a theme for the theme argument in gg_*
functions.
weave_theme(
theme = light_mode_r(),
...,
theme_orientation = NULL,
theme_axis_line_rm = TRUE,
theme_axis_ticks_rm = TRUE,
theme_panel_grid_rm = TRUE
)
A ggplot2 theme (e.g. light_mode_t()
or dark_mode_r()
).
Provided to require argument naming, support trailing commas etc.
The orientation of plot, which affects the theme components that can be removed by the gg_*
function. Either "x"
or "y"
. Defaults to NULL
, which lets the gg_*
function guess it based on the data.
TRUE
or FALSE
of whether the gg_*
function should remove the relevant axis line per the theme_orientation
of the plot.
TRUE
or FALSE
of whether the gg_*
function should remove the relevant axis ticks per the theme_orientation
of the plot.
TRUE
or FALSE
of whether the gg_*
function should remove the relevant panel grid per the theme_orientation
of the plot.