centos6.5 下解决方案:
wget http://www.itzgeek.com/msttcore-fonts-2.0-3.noarch.rpm rpm -Uvh msttcore-fonts-2.0-3.noarch.rpm
rm -rf ~/.cache/matplotlib/
import matplotlib as mpl mpl.rcParams['font.sans-serif'].insert(0, u'Arial') mpl.rcParams['font.family'] = [u'sans-serif',] mpl.rcParams['svg.fonttype'] = 'none'