Create a gist now

Instantly share code, notes, and snippets.

Empty theme for ggplot2 0.9.2
# https://github.com/wch/ggplot2/wiki/New-theme-system
new_theme_empty <- theme_bw()
new_theme_empty$line <- element_blank()
new_theme_empty$rect <- element_blank()
new_theme_empty$strip.text <- element_blank()
new_theme_empty$axis.text <- element_blank()
new_theme_empty$plot.title <- element_blank()
new_theme_empty$axis.title <- element_blank()
new_theme_empty$plot.margin <- structure(c(0, 0, -1, -1), unit = "lines", valid.unit = 3L, class = "unit")
@geotheory

Nice work thanks

@Matherion

Thanks, very useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment