Matplotlib绘图——同时显示两幅图片

刚刚接触Python,学习基本操作,并做下笔记。直接贴代码: import matplotlib.pyplot as plt from matplotlib.image import imread img1 = imread('XY.jpg') img2 = imread('../AIProgram/JQ.jpg') plt.figure() plt.subplot(1,2,1) plt.imsh
相关文章
相关标签/搜索