matplotlib-持续一定时间后自动关闭figure

            plt.figure(1)
            plt.subplot(211)
            plt.imshow(out1)
            plt.subplot(212)
            plt.imshow(out2)
            plt.show()
            plt.pause(2)
            plt.close('all')

matplotlib-持续一定时间后自动关闭figure_第1张图片

你可能感兴趣的:(matplotlib,matplotlib,python)