Skip to contents

Sets the panel.heights element of the active theme via ggplot2::theme_update().

Usage

update_panel_heights(heights)

Arguments

heights

A grid::unit() specifying the panel heights (e.g., grid::unit(5, "cm")). Use NULL to 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"))
} # }