方法一
plt.figure()
plt.subplot(221)
plt.imshow(img,"gray")
plt.subplot(222)
plt.imshow(label)
plt.title(i)
plt.subplot(223)
plt.imshow(img_add)
方法二
f, (ax1, ax2) = plt.subplots(1, 2, figsize=(8, 8))
ax1.imshow(img,"gray")
ax2.imshow(label)
方法一
plt.figure()
plt.subplot(221)
plt.imshow(img,"gray")
plt.subplot(222)
plt.imshow(label)
plt.title(i)
plt.subplot(223)
plt.imshow(img_add)
方法二
f, (ax1, ax2) = plt.subplots(1, 2, figsize=(8, 8))
ax1.imshow(img,"gray")
ax2.imshow(label)