pyplot笔记之显示多幅图片

import matplotlib.pyplot as plt plt.figure() plt.subplot(2,2,1) # 将画板分为2行两列,本幅图位于第一个位置 plt.imshow(img) plt.subplot(2,2,2) # 将画板分为2行两列,本幅图位于第二个位置 plt.imshow(img) plt.subplot(2,2,3) # 将画板分为2行两列,本幅图位于
相关文章
相关标签/搜索