Python3.6 Matplotlib输出中文显示问题


cp msyh.ttf /usr/local/lib/python3.6/site-packages/matplotlib/mpl-data/fonts/ttf/

vi /usr/local/lib/python3.6/site-packages/matplotlib/mpl-data/matplotlibrc
font.sans-serif     : Microsoft YaHei, ...