Drop a static theme element from a ggplot object
Usage
drop_legend(axis = NULL)
drop_grid(axis = NULL)
drop_labels(axis = NULL)
drop_titles(axis = NULL)
Examples
library(ggplot2)
p <- ggplot(iris, aes(Sepal.Length, y = Sepal.Width, colour = Species)) +
geom_point() + theme_cesar()
p + drop_legend()
p + drop_grid("x")
p + drop_labels("y")
p + drop_titles("both")