Tag Archives: matplotlib

Gallery of XKCD and other Python matplotlib styles

I’m reading the wonderful “Python Data Science Handbook” by Jake VanderPlas, a book written entirely as Jupyter notebooks! And got excited about matplotlib styles but XKCD “style” was missing so I modified a bit the code for rendering the different styles to include it. Below a small part of the gallery (XKCD style is the first line) which is generated by the jupyter notebook available as a gist on github and embedded below.


I love XKCD graphs, for example the following one, and you can create them with Python!!!

XKCD graph