In your case probably you only need to rebuild the cache with the command: $rm ~/.matplotlib/fontList.cache Hope this helps. Hi. It seems that other people had that problem with the xkcd font in matplotlib. Here there is an interesting post concerning hte issue: http://raj.blog.archive.org/tag/matplotlib/ In your case probably you only need to rebuild the cache with the command: command:$ rm ~/.matplotlib/fontList.cache