theme_x is a
ggplot2 custom theme that generates plots similar to Matplotlib's default.
The aesthetic is clean, uncluttered, and focuses the viewer's attention on the details of the plot.
By design, caption and subtitles are not included.
The usage is straight-forward. You just add
theme_x() at the end of any
ggplot2 plot object.
The inspiration for this small package comes from Jeffrey B. Arnold's
Run these 3 lines of code.
install.packages("devtools") require(devtools) install_github("xslates/theme_x")
library(ggplot2) library(themex) ggplot(cars, aes(speed, dist)) + geom_point() + labs(title = "Cars Dataset") + theme_x()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.