Description Usage Arguments Examples
View source: R/use_custom_theme.R
This function builds upon the ggplot2::theme_minimal() theme and adds/rearranges some grid elements.
1 | theme_barlow(base_size = 14)
|
base_size |
Defining the base size of the font. |
1 2 3 4 5 | library(ggplot2)
library(showtext)
showtext_auto() # Necessary for certain graphics devices to display the custom font
ggplot(mtcars, aes(wt, mpg)) + geom_point() + theme_barlow()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.