If I have multiple images (loaded as NumPy arrays) how can I display the in one IPython Notebook cell?
I know that I can use plt.imshow(ima) to display
You can do it really fast and easy with IPyPlot:
import ipyplot
ipyplot.plot_images(images_array, max_images=20, img_width=150)
You would get a plot similar to this:
It's using IPython.display and HTML under the hood and it can take images in following formats:
string file pathsPIL.Image objectsnumpy.ndarray objects representing imagesIt would take just a few seconds to display a numpy array of 500 images