-
Included five new colour palette sets with the package: Cartography palettes (
discrete_palettes
,sequential_palettes
,diverging_palettes
), Performance palettes (performance_palettes
), and Palmer penguins palettes (penguin_palettes
). -
When plotting colour palettes with
plot()
, the order of facets now matches the order of palettes inpal_palette()
objects.
This is a small patch release that applies some internal fixes for the scale_()
functions, due to a breaking change in ggplot2 v3.5.0 that deprecated the scale_name
argument in ggplot2::continuous_scale()
, ggplot2::discrete_scale()
and ggplot2::binned_scale()
. The "gt" vignette has also been updated to reflect changes to the gt::data_color()
function in gt v0.9.0.
-
Added a variety of global options to adjust the printing behaviour of colour vectors. See
help("palettes-options")
andvignette("palettes")
for details and examples (#35). -
Added a "Made with palettes" article to the pkgdown site showcasing colour palette packages made with palettes (#37).
-
Improved error message for invalid colours to support singular and plural grammar (@olivroy, #32).
-
Minor improvements to documentation throughout the package---mainly cross-linking (#38).
This is a small patch release that fixes a typo in the "Creating a Colour Package" vignette, replacing the non-existent pal_brewer()
function with the intended pal_ramp()
function.
First public release.