Skip to contents

Apply a transparent background for a ggplot2 plot.

Usage

plt_no_background

Format

An object of class theme (inherits from gg) of length 4.

Value

A ggplot2 object.

Examples

library(ggplot2)

plot <-
  ggplot(mtcars,aes(hp,drat))+
  geom_point()

plot


plot + plt_no_background