View source: R/minimal_ggplot_theme.R
minimal_ggplot_theme | R Documentation |
A nice minimal ggplot theme
minimal_ggplot_theme(base_family = "Roboto Condensed", gridlines = F, dark = F)
base_family: |
the base font family, defaults to "Roboto Condensed" |
gridlines: |
should gridlines be displayed? defaults to F |
dark: |
use dark theme? |
A ggplot theme
mtcars %>% ggplot(aes(x = wt, y = mpg)) + geom_point() + minimal_ggplot_theme()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.