with plot.rc.context({'font.name':'SimHei',
'suptitle.size': 20,
'tick.labelsize':15, #实现坐标轴字体设置
# 'xtick.labelsize':15, #不起作用
# 'text.labelsize':12,
# 'legend.fontsize':10,
# 'leftlabel.size':12,
'abc.size':15,
'title.size':18,
'title.loc':'c',
},
abc=True,
abcstyle='(a)',
abcloc = 'ul',
#linewidth=1.5
):
fig,axs = plot.subplots(nrows=3,ncols=4,share=3)
axs.format(suptitle='10月13日平均风速',
ylabel=False,ylim=(0,30))
for j in range(12):
axs[j].plot(windspeed2min.iloc[:,j])
axs[j].format(title=windspeed2min.columns[j],
)
axs.set_ylabel(None) # 与上面ylabel重复,核实哪个起作用
plot.rc.reset()
fig.save("绘图.svg")