unhcr-dataviz / unhcrthemes

UNHCR branded theme for ggplot2 and data visualization colour palettes
https://unhcr-dataviz.github.io/unhcrthemes/
Other
18 stars 7 forks source link

Revise and add arguments to `theme_unhcr` function #21

Closed vidonne closed 1 year ago

vidonne commented 1 year ago

The arguments of the theme_unhcr function provide sensible default options to create UNHCR branded plots but also give the user the flexibility to change those default values but still follow UNHCR data visualization recommendations.

The idea of this enhancement is to change some current arguments to more adequate default values and add some argument to provide more flexibility and easier alteration of the plot.

1. Current argument to change:

2. Current argument to repurpose: Keep the following arguments for back compatibility but won't be central to the call anymore.

3. New arguments to add: