Skip to content

Commit ea8d2bf

Browse files
committed
document
1 parent aaf3b4e commit ea8d2bf

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# ggplot2 (development version)
22

3+
* Added `panel.widths` and `panel.heights` to `theme()` (#5338, @teunbrand).
34
* `guide_bins()`, `guide_colourbar()` and `guide_coloursteps()` gain an `angle`
45
argument to overrule theme settings, similar to `guide_axis(angle)`
56
(@teunbrand, #4594).

R/theme.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@
143143
#' and x axis grid lines are vertical. `panel.grid.*.*` inherits from
144144
#' `panel.grid.*` which inherits from `panel.grid`, which in turn inherits
145145
#' from `line`
146+
#' @param panel.widths,panel.heights Sizes for panels (`units`). Can be a
147+
#' single unit to set the total size for the panel area, or a unit vector to
148+
#' set the size of individual panels.
146149
#' @param panel.ontop option to place the panel (background, gridlines) over
147150
#' the data layers (`logical`). Usually used with a transparent or blank
148151
#' `panel.background`.

man/theme.Rd

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)