The theme created by this function shows nothing but the plot panel.
theme_nothing(font_size = 14, font_family = "", rel_small = 12/14)
Overall font size. Default is 14.
Base font family.
Relative size of small text
The theme.
library(ggplot2)
ggplot(mtcars, aes(disp, mpg, color = cyl)) +
geom_point() +
theme_nothing()