R/themes.R
no_legend.Rd
Remove the legend
no_legend()
A ggplot2 theme object.
library(ggplot2) ggplot(mtcars, aes(wt, mpg, colour = factor(cyl))) + geom_point() + no_legend()