Skip to contents

A dark-background ggplot2 theme designed for risk comparison plots. White text on #1a1a1a background with subtle grid lines.

Usage

theme_micromort_dark(label_size = 9)

Arguments

label_size

Numeric. Y-axis label font size. Default is 9.

Value

A ggplot2 theme object.

Examples

library(ggplot2)
ggplot(mtcars, aes(mpg, wt)) + geom_point(color = "white") + theme_micromort_dark()