Home

Published

- 1 min read

images subplot python

img of images subplot python

The solution for this is noted below

images subplot python

Solution

   _, axs = plt.subplots(n_row, n_col, figsize=(12, 12))
axs = axs.flatten()
for img, ax in zip(imgs, axs):
    ax.imshow(img)
plt.show()

Try other methods by searching on the site. That is if this doesn’t work