Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhodge931 committed Dec 15, 2024
1 parent 9d46258 commit 684b1f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/set_blanket.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#' Weave the style by setting:
#'
#' 1. the mode to be added with `gg_*()` side-effects
#' 2. the colour/fill geom defaults etc
#' 2. the geom defaults (e.g. colour/fill), and text and reference line defaults
#' 3. the col_palettes for discrete, continuous and ordinal colour/fill scales
#' 4. a theme to be added _without_ `gg_*()` side-effects.
#'
Expand Down
6 changes: 3 additions & 3 deletions vignettes/ggblanket.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -355,12 +355,12 @@ penguins2 |>

The `set_blanket` function sets customisable defaults for the:

* mode (i.e. a theme added with side-effects).
* geom defaults (e.g. colour/fill, and text and reference line defaults.
* mode (i.e. a theme added with side-effects)
* geom defaults (e.g. colour/fill), and text and reference line defaults
* discrete colour palette (and NA colour)
* continuous colour palette (and NA colour)
* ordinal colour palette (and NA colour)
* theme (i.e. a theme added with no side-effects)
* theme (i.e. a theme added with no side-effects).

Note the `mode` argument in `set_blanket` can also be used to default a `*_label` to `NULL` (e.g. `set_blanket(mode = list(dark_mode_r(), labs(colour = NULL, fill = NULL)))`).

Expand Down

0 comments on commit 684b1f0

Please sign in to comment.