I am trying to draw an xkcd-style plot with matplotlib (ver. 1.4.2) under Python 3.
When I try to run:
import matplotlib.pyplot as plt plt.xkcd() plt
If you add a new font after installing matplotlib then try to remove the font cache. Matplotlib will have to rebuild the cache, thereby adding the new font.
It may be located under ~/.matplotlib/fontList.cache or ~/.cache/matplotlib/fontList.json.
~/.matplotlib/fontList.cache
~/.cache/matplotlib/fontList.json