Skip to content

Commit c119561

Browse files
authored
Update NEWS to include discrete color scale options from #3833 (#4042)
1 parent 2b03e47 commit c119561

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

NEWS.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,17 @@
55

66
* `annotation_raster()` adds support for native rasters. For large rasters,
77
native rasters render significantly faster than arrays (@kent37, #3388)
8-
9-
* Default continuous color scales (i.e., the `options()` `ggplot2.continuous.colour` and `ggplot2.continuous.fill`, which inform the `type` argument of `scale_fill_continuous()` and `scale_colour_continuous()`) now accept a function, which allows more control over these default `continuous_scale()`s (@cpsievert, #3827)
8+
9+
* Default discrete color scales are now configurable through the `options()` of
10+
`ggplot2.discrete.colour` and `ggplot2.discrete.fill`. When set to a character
11+
vector of colour codes (or list of character vectors) with sufficient length,
12+
these colours are used for the default scale. See `help(scale_colour_discrete)`
13+
for more details and examples (@cpsievert, #3833).
14+
15+
* Default continuous colour scales (i.e., the `options()` `ggplot2.continuous.colour`
16+
and `ggplot2.continuous.fill`, which inform the `type` argument of
17+
`scale_fill_continuous()` and `scale_colour_continuous()`) now accept a function,
18+
which allows more control over these default `continuous_scale()`s (@cpsievert, #3827).
1019

1120
* A newly added `geom_function()` is now recommended to use in conjunction
1221
with/instead of `stat_function()`. In addition, `stat_function()` now

0 commit comments

Comments
 (0)