Description Usage Arguments Value Examples
The theme created by this function shows nothing but the plot panel.
1 | theme_nothing(font_size = 14, font_family = "", rel_small = 12/14)
|
font_size |
Overall font size. Default is 14. |
font_family |
Base font family. |
rel_small |
Relative size of small text |
The theme.
1 2 3 4 5 | library(ggplot2)
ggplot(mtcars, aes(disp, mpg, color = cyl)) +
geom_point() +
theme_nothing()
|
Loading required package: ggplot2
Attaching package: 'cowplot'
The following object is masked from 'package:ggplot2':
ggsave
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.