- Upgrade to Scientific Colours Maps v8.
- Translate into French.
- Update package metadata.
- Add
palette_size_sequential()andpalette_size_diverging()to size symbols.
- Silently deprecate
palette_size_range().
- Allow to pass a color function to
palette_color_continuous()andpalette_color_discrete().
- Add
palette_color_picker(),palette_color_continuous()andpalette_color_discrete()to map values to colors. - Add
palette_shape()andpalette_line()to map values to symbols. - Add
palette_size_range()to size symbols. - Add
change()to simulate color-blindness (#14).
colour()no longer returns a named vector by default.plot*()functions invisibly return the first argument (vector of colors).- Deprecate
convert()(#14). - Deprecate
ramp(). - Remove deprecated argument in
ggplot2::discrete_scale()andggplot2::continuous_scale()(#15).
- Add Paul Tol
nightfallandincandescentcolor schemes.
- Fix
discreterainbowscheme (qualitative scheme instead of sequential).
- Fix
ramp()to return a palette function with argument a vector of values that are mapped to colors.
- Use tinytest and tinysnapshot instead of testthat and vdiffr.
- Add Okabe Ito colour scale with black at last position (#12, thanks to @ustervbo).
- Add
ramp()to produce a colour scheme that map anumericvector to colours (allow rescaling to a specific midpoint). - Add
scale_*_logical()forlogicalvalues.
- Fix
scale_colour_okabeito()andscale_fill_okabeito()(unnamed arguments were passed in the wrong order).
- Add
plot_tiles()to produce a diagnostic map for a given colour scheme. - Add
scale_*_picker()andscale_edge_*_picker()to build scales for ggplot2 and ggraph. - Add ggraph scale functions
scale_edge_colour_*()andscale_edge_fill_*()(#10).
- Fix test broken by testthat 3.1.2 (#11, thanks to @hadley).
- Add Paul Tol's high and medium contrast colour schemes:
scale_*_mediumcontrastandscale_*_highcontrast(#9).
- Deprecate
scale_*_contrast.
- Add
info()to get a table of all available palettes.
- Move ggplot2, scales and spacesXYZ from Imports to Suggests (#8).
- Add Fabio Crameri's Scientific colour schemes (35 new colour schemes).
- Add ggplot2 scale functions:
- Diverging Colour Schemes:
scale_*_broc,scale_*_cork,scale_*_vik,scale_*_lisbon,scale_*_tofino,scale_*_berlin,scale_*_roma,scale_*_bam,scale_*_vanimo. - Sequential colour schemes:
scale_*_batlow,scale_*_batlowW,scale_*_batlowK,scale_*_devon,scale_*_lajolla,scale_*_bamako,scale_*_davos,scale_*_bilbao,scale_*_nuuk,scale_*_oslo,scale_*_grayC,scale_*_hawaii,scale_*_lapaz,scale_*_tokyo,scale_*_buda,scale_*_acton,scale_*_turku,scale_*_imola. - Multi-sequential colour schemes:
scale_*_oleron,scale_*_bukavu,scale_*_fes. - Cyclic colour schemes:
scale_*_brocO,scale_*_corkO,scale_*_vikO,scale_*_romaO,scale_*_bamO.
- Diverging Colour Schemes:
scale_*_sunset(),scale_*_BuRd()andscale_*_PRGn()gained a new argument to be used with discrete data (#7).- Fix conflict with the
nameargument ofggplot2::discrete_scale()andggplot2::scale_continuous().
- Add a
compare()function to compute CIELAB distance metric. - Add a
plot()function. - Add a
plot_scheme_colourblind()function (#4, thanks to @vincentarelbundock). - Add Okabe and Ito (2008) colour scheme.
- Restrict the RGB values in the
anomalize()function (#5, thanks to @vincentarelbundock). plot_scheme()now display colour for bad/missing data (if any).colour()output can be restricted to a fraction of the cheme's colour domain (#6).colour()gained a new argument to force interpolation of colour scheme.colour()gained a new argument to choose colour names language.scale_*_YlOrBr(),scale_*_iridescent()andscale_*_smoothrainbow()gained a new argument to be used with discrete data (#3).
- Move ggplot2 and scales from Suggests to Imports.
- Fix qualitative colour picking.
- Fix typos in colour names (#2).
- Remove
scale_*_rainbow(). - Use crayon if installed to nicely print colours in the console.
- Move ggplot2 and scales from Imports to Suggests.
- Add the
convert()function to simulate colour-blind vision. - Add the
plot_scheme()function to shows colours in a plot. - Add the
plot_map()function to produces a diagnostic map for a given colour scheme.
- Fix the argument (number of levels) of the palette function returned by
colour().
- Add a vignette for Paul Tol's colour schemes.
- Add three ggplot2 scale functions:
scale_*_pale(),scale_*_dark()andscale_*_discreterainbow().
- The function
scale_*_rainbow()is deprecated and replaced byscale_*_discreterainbow(). - Fix the
missingattribute of the palette function returned bycolour()(bug introduced in v1.1.2).
- The documentation is expanded with several remarks on the use of Paul Tol's colour schemes.
- Add three ggplot2 scale functions:
scale_*_contrast(),scale_*_iridescent()andscale_*_land().
- Add three colour schemes: Paul Tol's high contrast (qualitative), iridescent (sequential) and modified colour scheme for the AVHRR global land cover classification.
- Remove
scale_*_tol(). - Remove
arrange().
- Midpoint can be specified in diverging colour scales.
- Colour schemes can be reversed (a bug made the
reverseargument inoperative).
- Reduce required R version to 3.1.
- Add specific ggplot2 scale functions for Paul Tol's colour schemes:
scale_*_bright(),scale_*_vibrant(),scale_*_muted(),scale_*_light(),scale_*_rainbow()(qualitative),scale_*_sunset(),scale_*_BuRd(),scale_*_PRGn()(diverging),scale_*_YlOrBr(),scale_*_smoothrainbow()(sequential).
- The function
scale_*_tol()is deprecated. - Add the FAO Soil Reference Groups colour scheme.
- First release (initial version on CRAN).