use_sgplot()
gains a palette_type
argument to set default palette type
for geoms. The default value is "sg" to use Scottish Government colour palettes.
To use the Social Security Scotland palette type, for example, use:
use_sgplot(palette_type = "sss")
(#34).
The default_colour
argument of use_sgplot()
is deprecated in favour of the
palette_type
argument (#34).
Add Social Security Scotland colours (sss_colour_values
) and palettes
(sss_colour_palettes
).
Fix bug in use_sgplot()
when passing arguments to theme_sg()
.
Fix links to contributing guidance in vignettes.
Update required roxygen
version.
Fix issue where scale_
functions didn't work without the package being
loaded (#26).
Add link to theme_sg()
in use_sgplot()
help file.
Reduce base_line_size
in theme_sg()
.
Remove default dark blue outline from geom_col
and geom_bar
when using use_sgplot()
.
First package release.
Add functions to create accessible plots using ggplot2
.
Add pkgdown site (https://ScotGovAnalysis.github.io/sgplot) including cookbook.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.