XKCD-style Plots in Matplotlib

Now incorporated directly into the latest version of matplotlib (v1.3) here is a great alternative that brings some style to your plotting routines. I haven’t tried it out on plots with a huge number of points but I imagine it should work just fine.  Below are some simple examples.  Simple as matplotlib.pyplot.xkcd()…

Pseudo-Random Sequence with XKCD:

PRS_XKCD

No XKCD:

PRS_noXKCD

Cheers Jake Vanderplas:  http://jakevdp.github.com/blog/2012/10/07/xkcd-style-plots-in-matplotlib/

More Examples:  http://matplotlib.org/xkcd/examples/showcase/xkcd.html

 

 

Bookmark the permalink.

Comments are closed