Python 中 matplotlib 作图标注个性化字体
Python 中 matplotlib 作图标注自己的想要的字体往往不太好使,用下面两方法标注可采用个性化字体。
import os
from matplotlib import font_manager as fm, pyplot as plt, rcParams
import numpy as np
fig, ax = plt.subplots()
#方法一 在 matplotlib 默
原创
2018-01-28 17:52:29 ·
1374 阅读 ·
0 评论