Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document guide theme argument #6268

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions R/guide-axis.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
#' [scale_(x|y)_discrete()][scale_x_discrete()].
#'
#' @inheritParams guide_legend
#' @param theme A [`theme`][theme()] object to style the guide individually or
#' differently from the plot's theme settings. The `theme` argument in the
#' guide partially overrides, and is combined with, the plot's theme.
#' @param check.overlap silently remove overlapping labels,
#' (recursively) prioritizing the first, last, and middle labels.
#' @param angle Compared to setting the angle in [theme()] / [element_text()],
Expand Down
6 changes: 5 additions & 1 deletion R/guide-legend.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
#' specified in [labs()] is used for the title.
#' @param theme A [`theme`][theme()] object to style the guide individually or
#' differently from the plot's theme settings. The `theme` argument in the
#' guide overrides, and is combined with, the plot's theme.
#' guide partially overrides, and is combined with, the plot's theme.
#' Arguments that apply to a single legend are respected, most of which have
#' the `legend`-prefix. Arguments that apply to combined legends
#' (the legend box) are ignored, including `legend.position`,
#' `legend.justification.*`, `legend.location` and `legend.box.*`.
#' @param position A character string indicating where the legend should be
#' placed relative to the plot panels.
#' @param direction A character string indicating the direction of the guide.
Expand Down
2 changes: 1 addition & 1 deletion man/guide_axis.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/guide_axis_logticks.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/guide_axis_stack.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/guide_axis_theta.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion man/guide_bins.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion man/guide_colourbar.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion man/guide_coloursteps.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion man/guide_custom.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion man/guide_legend.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading