ojo_theme: Style a ggplot in the OJO style

View source: R/ojo_theme.R

ojo_themeR Documentation

Style a ggplot in the OJO style

Description

Add OJO styling to a ggplot

Usage

ojo_theme()

Examples

## Not run: 
ggplot(ojo_example, aes(file_year, n_cases, color = court)) +
  geom_line(size = 1.5) +
  ojo_theme() +
  ojo_colors() +
  scale_x_continuous(
    breaks = 2010:2019,
    limits = c(NA, 2019)
  )

## End(Not run)

openjusticeok/ojodb documentation built on Aug. 4, 2024, 3:25 p.m.