Description Usage Arguments Value Examples
View source: R/theme_flother.R
A ggplot2 theme in the style used on https://flother.is/
1 | theme_flother(font_family = "Valkyrie T4", font_size = 12)
|
font_family |
Font family for all text, by default Matthew Butterick's Valkyrie (see https://practicaltypography.com/valkyrie.html). |
font_size |
Base size of font. The size of all text, lines, and margins is relative to this. |
A complete ggplot2 theme.
1 2 3 4 | library(ggplot2)
ggplot(USArrests, aes(Murder, UrbanPop)) +
geom_point() +
theme_flother()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.