To make it work you need
- matplotlib 1.3.1 (it will not work with matplotlib 1.3.0 or earlier)
sudo pip install matplotlib --upgrade
- Humor Sens font
- download from here or here , install (in OS X you will open it and click "Install")
- remove the matplotlib font cache (as suggested by DanHickstein in matplotlib / issues / 2269 )
rm ~/.matplotlib/fontList.cache
Now execute the code and it should work.
You do not need to change the backend to TkAgg , as some people suggest. For me, it works great on 'module://IPython.kernel.zmq.pylab.backend_inline' (you can check it on plt.get_backend() ).
(I had the same problem and solved it, at least on OS X 10.8.5, with matplotlib 1.3.1 and IPython 2.0.0, removing the font cache was necessary to start the font.)
source share