绘制好的图1绘制好的图2
plt.show()
会把图1和图2都显示出来,我只想显示图1该怎么做?
把前面不需要显示的图像plt.close(),就会只输出没有plt.close()的图像了
把plt.show()放到第一张图后面