Is there a way I can display a list of images with one function ? In matlab there is montage. Currently if I for loop and imshow matplotlib displays the images from top to bottom. I would like it to be from left to right then to bottom when no space. My code is below but it is stupid code of course.
import numpy as np
plot_image = image_list[1]
for i in range(20):
plot_image = np.concatenate((plot_image, image_list[i+1]), axis=1)
plt.figure(figsize = (15,15))
plt.imshow(plot_image, cmap = 'gray');
So is there like a function montage(list_of_images) or even better a function that does not need to take in images of the same size like smarter_imshow(list_of_images_with_unequal_resolution)