Jake VanderPlas 10/7/2012

XKCD-style plots in Matplotlib

Read Original

This technical article explains how to generate plots with a hand-drawn, sketch-like aesthetic in Matplotlib, mimicking the style of the XKCD webcomic. It details the development of a custom function called 'XKCDify' that adds jitter to lines, changes fonts, and modifies plot elements, covering the process from the initial mailing list discussion to a working implementation.

XKCD-style plots in Matplotlib

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes