Skip to content

Commit d20c7e9

Browse files
committed
Document strip.placement.*
1 parent 9904efc commit d20c7e9

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

R/theme.R

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,11 @@
192192
#' inherits from `rect`). Horizontal facet background (`strip.background.x`)
193193
#' & vertical facet background (`strip.background.y`) inherit from
194194
#' `strip.background` or can be specified separately
195-
#' @param strip.placement placement of strip with respect to axes,
196-
#' either "inside" or "outside". Only important when axes and strips are
197-
#' on the same side of the plot.
195+
#' @param strip.placement,strip.placement.x,strip.placement.y
196+
#' placement of strip with respect to axes, either "inside" or "outside".
197+
#' Only important when axes and strips are on the same side of the plot.
198+
#' Horizontal (`strip.placement.x`) & vertical (`strip.placement.y`) placements
199+
#' inherit from `strip.placement` or can be specified separately
198200
#' @param strip.clip should strip background edges and strip labels be clipped
199201
#' to the extend of the strip background? Options are `"on"` to clip, `"off"`
200202
#' to disable clipping or `"inherit"` (default) to take the clipping setting
@@ -474,6 +476,8 @@ theme <- function(...,
474476
strip.background.y,
475477
strip.clip,
476478
strip.placement,
479+
strip.placement.x,
480+
strip.placement.y,
477481
strip.text,
478482
strip.text.x,
479483
strip.text.x.bottom,

man/theme.Rd

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

0 commit comments

Comments
 (0)