library(dplyr)
library(ggplot2)
# Example of using af_dark_blue to colour bars
iris %>%
group_by(Species) %>%
summarise(Petal.Width = mean(Petal.Width)) %>%
ggplot() +
geom_col(
aes(Species, Petal.Width),
fill = af_dark_blue
) +
scale_y_continuous(
expand = expansion(c(0, 0.05))
) +
theme_af()
Run the code above in your browser using DataLab