From 6cde167cce1876707037b3314b829e9e9be833a9 Mon Sep 17 00:00:00 2001 From: Teun van den Brand Date: Wed, 28 Feb 2024 14:25:29 +0100 Subject: [PATCH] Remove `palette` from manual scale docs --- R/scale-manual.R | 2 +- man/scale_manual.Rd | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/R/scale-manual.R b/R/scale-manual.R index d57ceec3cd..3c964cbd39 100644 --- a/R/scale-manual.R +++ b/R/scale-manual.R @@ -12,7 +12,7 @@ #' of aesthetics provided via the `aesthetics` argument. #' #' @inheritParams scale_x_discrete -#' @inheritDotParams discrete_scale -expand -position -aesthetics +#' @inheritDotParams discrete_scale -expand -position -aesthetics -palette #' @param aesthetics Character string or vector of character strings listing the #' name(s) of the aesthetic(s) that this scale works with. This can be useful, for #' example, to apply colour settings to the `colour` and `fill` aesthetics at the diff --git a/man/scale_manual.Rd b/man/scale_manual.Rd index f39e9db7fc..3deff027bd 100644 --- a/man/scale_manual.Rd +++ b/man/scale_manual.Rd @@ -44,9 +44,6 @@ scale_discrete_manual(aesthetics, ..., values, breaks = waiver()) \item{...}{ Arguments passed on to \code{\link[=discrete_scale]{discrete_scale}} \describe{ - \item{\code{palette}}{A palette function that when called with a single integer -argument (the number of levels in the scale) returns the values that -they should take (e.g., \code{\link[scales:pal_hue]{scales::pal_hue()}}).} \item{\code{limits}}{One of: \itemize{ \item \code{NULL} to use the default scale values