Skip to contents

Minimal Dubois-style theme, with easy customization

Usage

theme_dubois(bg = dubois_color("linen"), minor = FALSE, conditional = TRUE)

Arguments

bg

Background color

minor

Minor gridlines

conditional

Conditional gridlines

Value

ggplot object

Examples

 library(dplyr)
 library(ggplot2)
 mtcars |>
   mutate(cyl = factor(cyl)) |>
   ggplot(aes(mpg, cyl, fill = cyl)) +
   geom_boxplot(key_glyph = "dubois") +
   theme_dubois() +
   scale_fill_dubois()