1、步骤一
#-*- coding: utf-8 -*-
import matplotlib.pyplot as plt
from matplotlib.font_manager import FontProperties
2、步骤二
font = FontProperties(fname=r"c:\windows\fonts\simsun.ttc",size=12)
3、步骤三
plt.ylabel(u'随机接入成功率',fontproperties=font)