Skip to content

Commit fbc6a25

Browse files
committed
Document strip.placement.*
1 parent fbf3f89 commit fbc6a25

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
@@ -183,9 +183,11 @@
183183
#' inherits from `rect`). Horizontal facet background (`strip.background.x`)
184184
#' & vertical facet background (`strip.background.y`) inherit from
185185
#' `strip.background` or can be specified separately
186-
#' @param strip.placement placement of strip with respect to axes,
187-
#' either "inside" or "outside". Only important when axes and strips are
188-
#' on the same side of the plot.
186+
#' @param strip.placement,strip.placement.x,strip.placement.y
187+
#' placement of strip with respect to axes, either "inside" or "outside".
188+
#' Only important when axes and strips are on the same side of the plot.
189+
#' Horizontal (`strip.placement.x`) & vertical (`strip.placement.y`) placements
190+
#' inherit from `strip.placement` or can be specified separately
189191
#' @param strip.clip should strip background edges and strip labels be clipped
190192
#' to the extend of the strip background? Options are `"on"` to clip, `"off"`
191193
#' to disable clipping or `"inherit"` (default) to take the clipping setting
@@ -447,6 +449,8 @@ theme <- function(...,
447449
strip.background.y,
448450
strip.clip,
449451
strip.placement,
452+
strip.placement.x,
453+
strip.placement.y,
450454
strip.text,
451455
strip.text.x,
452456
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)