f, (ax1, ax2) = plt.subplots(1, 2, figsize=(20,10)) //该句搭框架,确定输出1行x2列的图象,图片尺寸为20x10英寸

f, (ax1, ax2) = plt.subplots(1, 2, figsize=(20,10))  //该句搭框架,确定输出1行x2列的图象,图片尺寸为20x10英寸
ax1.set_title('night')
ax1.imshow(night_image)
ax2.set_title('day')
ax2.imshow(day_image)

发布了121 篇原创文章 · 获赞 84 · 访问量 161万+

猜你喜欢

转载自blog.csdn.net/studyvcmfc/article/details/104478888