Skip to content
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
8 changes: 7 additions & 1 deletion R/labels.R
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,13 @@ setup_plot_labels <- function(plot, layers, data) {
#' See [get_alt_text] for examples. `alt` can also be a function that
#' takes the plot as input and returns text as output. `alt` also accepts
#' rlang [lambda][rlang::as_function()] function notation.
#' @param ... A list of new name-value pairs. The name should be an aesthetic.
#' @param ...
#' New name-value pairs. The name should be an aesthetic. The values can be
#' one of the following:
#' * A string or expression to set a label verbatim.
#' * A function to use as formatter for the default label.
#' * `NULL` to remove a label.
#' * A [`waiver()`] to use the default label.
#' @export
#'
#' @seealso
Expand Down
9 changes: 8 additions & 1 deletion man/labs.Rd

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