Sets the panel.widths element of the active theme via
ggplot2::theme_update().
Arguments
- widths
A
grid::unit()specifying the panel widths (e.g.,grid::unit(8, "cm")). UseNULLto remove a previously set width.
Value
The previous theme, invisibly (see ggplot2::theme_update()).
Examples
if (FALSE) { # \dontrun{
update_panel_widths(grid::unit(8, "cm"))
} # }