I have the following:
import matplotlib.pyplot as plt import numpy as np fig, axes = plt.subplots(2, 4) for ax in axes.ravel(): ax.imshow(np.random.rand