I\'m trying to plot many data using subplots and I\'m NOT in trouble but I\'m wondering if there is a convenience method to do this.
below is the sample code.
subplots returns an ndarray of axes objects, you can just flatten or ravel it:
subplots
fig, axes = plt.subplots(nrows = nrow, ncols=ncol, figsize=(8,6)) for ax in axes.flatten()[:20]: # do stuff to ax