Description Usage Arguments Value Examples
Implement a dark ggplot2 theme
1 2 | dark_theme(base_font = "Fira Sans Condensed",
title_font = "Fira Sans Condensed Medium", base_size = 12)
|
base_font |
a string indicating which font to use (default is Fira Sans Condensed) |
title_font |
a string indicating which font to use (default is Fira Sans Condensed Medium) |
base_size |
a numerica value indicating the base font size of the plot |
a predefined ggplot2
theme based on
dark_theme_minimal()
from ggdark
1 2 3 | ggplot(sample_data) +
geom_bar(aes(x = var5)) +
dark_theme()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.