plt同时画多个子图


参考

for i in range(7):
    plt.figure(i,figsize=(10,10))
    plt.subplot(1,3,1)
    plt.imshow(teacher_mid[i][0], interpolation='bicubic')
    plt.subplot(1,3,2)
    plt.imshow(student_mid[i][0], interpolation='bicubic')
    plt.subplot(1,3,3)
    plt.imshow(at_student_mid[i][0], interpolation='bicubic')
    plt.show()


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM