python3.8 matplotlib和networkx不显示中文

 

from pylab import mpl
mpl.rcParams['font.sans-serif'] = ['SimHei']

 

 

posted on 2024-04-17 16:32  帅胡  阅读(79)  评论(0编辑  收藏  举报

导航