| theme_clean | R Documentation | 
Clean ggplot theme with no panel background, black axis lines and grey fill colour for chart elements.
theme_clean(base_size = 12, base_family = "sans")
base_size | 
 Base font size.  | 
base_family | 
 Base font family.  | 
Konrad Zdeb name.surname@me.com
Other themes: 
theme_base(),
theme_foundation(),
theme_igray(),
theme_par(),
theme_solid()
library("ggplot2")
p <- ggplot(mtcars, aes(x = wt, y = mpg, colour = factor(gear))) +
  geom_point() +
  facet_wrap(~am) +
  geom_smooth(method = "lm", se = FALSE) +
  theme_clean()
p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.