摘要:
如果遇到问题: __main__:1: UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure. 解决方案: 在程序中增加一条语句: import ma 阅读全文
摘要:
将多张图显示在一张图像上 import matplotlib.pyplot as plt images.shape [20,512,512] for i in range(20): plt.subplot(4 , 5 , i+1) plt.imshow(images[i, :, :] # 通过for 阅读全文