(空白不绘制)
fig,axarr = plt.subplots(,) #开一个新窗口,并添加4个子图,返回子图数组
ax1 = axarr[] #通过子图数组获取一个子图
print(fig,...(空白不绘制)
ax1 = plt.subplot(,,,facecolor='white') #开一个新窗口,创建1个子图。...如果不应用将采用默认刻度格式
ax1.xaxis.grid(True, which='major') #x坐标轴的网格使用定义的主刻度格式
ax1.yaxis.grid(True, which...='major') #x坐标轴的网格使用定义的主刻度格式
ax1.set_xticks([]) #去除坐标轴刻度
ax1.set_xticks((-5,-3,-1,,,)) #设置坐标轴刻度...,rect=[左, 下, 宽, 高],是使用的绝对布局,不和以存在窗口挤占空间
axes1.plot(x,y) #在子图上画图
plt.savefig('aa.jpg',dpi=,bbox_inches