A simple, relatively minimalist ggplot2 theme, and some helper functions to go with it.

theme_ggdist()

theme_tidybayes()

facet_title_horizontal()

axis_titles_bottom_left()

facet_title_left_horizontal()

facet_title_right_horizontal()

Value

A named list in the format of ggplot2::theme()

Details

This is a relatively minimalist ggplot2 theme, intended to be used for making publication-ready plots. It is currently based on ggplot2::theme_light().

A word of warning: this theme may (and very likely will) change in the future as I tweak it to my taste.

theme_ggdist() and theme_tidybayes() are aliases.

Author

Matthew Kay

Examples


library(ggplot2)

theme_set(theme_ggdist())