Not need to handle by using only matplotlib, just...
import ipyplot
# ...
ipyplot.plot_images(img_arr, max_images=20, img_width=150)Not need to handle by using only matplotlib, just...
import ipyplot
# ...
ipyplot.plot_images(img_arr, max_images=20, img_width=150)