In [1]:
%matplotlib inline
from ggplot import *

theme_xkcd()

ggplot comes with a theme_xkcd() function


In [2]:
ggplot(mtcars, aes(x='wt', y='mpg')) + geom_point() + theme_xkcd()


Out[2]:
<ggplot: (284427705)>

In [3]:
ggplot(mtcars, aes(x='wt', y='mpg', color='cyl')) + geom_point() + theme_xkcd()


Out[3]:
<ggplot: (285286445)>

In [4]:
ggplot(meat, aes(x='date', y='beef')) + geom_line(color='red') + theme_xkcd()


Out[4]:
<ggplot: (285348113)>

In [ ]: