Skip to content

Commit

Permalink
exclude palette as dot param (#5992)
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Jul 15, 2024
1 parent c679d43 commit 25ad0b1
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 20 deletions.
2 changes: 1 addition & 1 deletion R/scale-gradient.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#' @param low,high Colours for low and high ends of the gradient.
#' @param guide Type of legend. Use `"colourbar"` for continuous
#' colour bar, or `"legend"` for discrete colour legend.
#' @inheritDotParams continuous_scale -na.value -guide -aesthetics -expand -position
#' @inheritDotParams continuous_scale -na.value -guide -aesthetics -expand -position -palette
#' @seealso [scales::pal_seq_gradient()] for details on underlying
#' palette, [scale_colour_steps()] for binned variants of these scales.
#'
Expand Down
2 changes: 1 addition & 1 deletion R/scale-grey.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#'
#' @inheritParams scales::pal_grey
#' @inheritParams scale_colour_hue
#' @inheritDotParams discrete_scale -expand -position -scale_name
#' @inheritDotParams discrete_scale -expand -position -scale_name -palette
#' @family colour scales
#' @seealso
#' The documentation on [colour aesthetics][aes_colour_fill_alpha].
Expand Down
2 changes: 1 addition & 1 deletion R/scale-hue.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#' It does not generate colour-blind safe palettes.
#'
#' @param na.value Colour to use for missing values
#' @inheritDotParams discrete_scale -aesthetics -expand -position -scale_name
#' @inheritDotParams discrete_scale -aesthetics -expand -position -scale_name -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
Expand Down
2 changes: 1 addition & 1 deletion R/scale-linetype.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' no inherent order, this use is not advised.
#'
#' @inheritParams scale_x_discrete
#' @inheritDotParams discrete_scale -expand -position -na.value -scale_name
#' @inheritDotParams discrete_scale -expand -position -na.value -scale_name -palette
#' @param na.value The linetype to use for `NA` values.
#' @rdname scale_linetype
#' @seealso
Expand Down
2 changes: 1 addition & 1 deletion R/scale-shape.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#' @param solid Should the shapes be solid, `TRUE`, or hollow,
#' `FALSE`?
#' @inheritParams scale_x_discrete
#' @inheritDotParams discrete_scale -expand -position -scale_name
#' @inheritDotParams discrete_scale -expand -position -scale_name -palette
#' @rdname scale_shape
#' @seealso
#' The documentation for [differentiation related aesthetics][aes_linetype_size_shape].
Expand Down
3 changes: 0 additions & 3 deletions man/scale_gradient.Rd

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

3 changes: 0 additions & 3 deletions man/scale_grey.Rd

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

3 changes: 0 additions & 3 deletions man/scale_hue.Rd

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

3 changes: 0 additions & 3 deletions man/scale_linetype.Rd

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

3 changes: 0 additions & 3 deletions man/scale_shape.Rd

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

0 comments on commit 25ad0b1

Please sign in to comment.