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