Skip to content

Commit 947f5fb

Browse files
committed
mention ignored arguments
1 parent b35cf63 commit 947f5fb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

R/guide-legend.R

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
#' specified in [labs()] is used for the title.
1616
#' @param theme A [`theme`][theme()] object to style the guide individually or
1717
#' differently from the plot's theme settings. The `theme` argument in the
18-
#' guide overrides, and is combined with, the plot's theme.
18+
#' guide partially overrides, and is combined with, the plot's theme.
19+
#' Arguments that apply to a single legend are respected, most of which have
20+
#' the `legend`-prefix. Arguments that apply to combined legends
21+
#' (the legend box) are ignored, including `legend.position`,
22+
#' `legend.justification.*`, `legend.location` and `legend.box.*`.
1923
#' @param position A character string indicating where the legend should be
2024
#' placed relative to the plot panels.
2125
#' @param direction A character string indicating the direction of the guide.

0 commit comments

Comments
 (0)