Return ggplot2 styling for histogram

unhcr_style_histo()

Value

Return UNHCR Style

See also

[ggplot2::theme]

Author

Edouard Legoupil - with inspiration from bbc

Examples

{ library(ggplot2) extrafont::loadfonts(quiet=TRUE) data <- data.frame(x=rnorm(100)) # Basic plot with title ggplot( data=data, aes(x=x)) + geom_histogram(color = "white",fill = "#2a87c8", alpha=0.7) + ggtitle("A blue Histogram") + unhcr_style_histo() }
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.