📅  最后修改于: 2022-03-11 14:46:32.935000             🧑  作者: Mango
from matplotlib import rc
font = {'size' : 16}
matplotlib.rc('font', **font)
# change font
matplotlib.rcParams['font.sans-serif'] = "Arial"
matplotlib.rcParams['font.family'] = "sans-serif"