Skip to content

Update NEWS to include discrete color scale options from #3833 #4042

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,17 @@

* `annotation_raster()` adds support for native rasters. For large rasters,
native rasters render significantly faster than arrays (@kent37, #3388)

* 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)

* Default discrete color scales are now configurable through the `options()` of
`ggplot2.discrete.colour` and `ggplot2.discrete.fill`. When set to a character
vector of colour codes (or list of character vectors) with sufficient length,
these colours are used for the default scale. See `help(scale_colour_discrete)`
for more details and examples (@cpsievert, #3833).

* Default continuous colour 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).

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