plt_no_background | R Documentation |
Apply a transparent background for a ggplot2 plot.
plt_no_background
An object of class theme
(inherits from gg
) of length 4.
A ggplot2 object.
library(ggplot2)
plot <-
ggplot(mtcars,aes(hp,drat))+
geom_point()
plot
plot + plt_no_background
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.