File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,13 @@ make_labels <- function(mapping) {
175175# ' See [get_alt_text] for examples. `alt` can also be a function that
176176# ' takes the plot as input and returns text as output. `alt` also accepts
177177# ' rlang [lambda][rlang::as_function()] function notation.
178- # ' @param ... A list of new name-value pairs. The name should be an aesthetic.
178+ # ' @param ...
179+ # ' New name-value pairs. The name should be an aesthetic. The values can be
180+ # ' one of the following:
181+ # ' * A string or expression to set a label verbatim.
182+ # ' * A function to use as formatter for the default label.
183+ # ' * `NULL` to remove a label.
184+ # ' * A [`waiver()`] to use the default label.
179185# ' @export
180186# '
181187# ' @seealso
You can’t perform that action at this time.
0 commit comments