Move the call to `plt.subplots` inside the loop below.
Instead make a list of titles.
This will shorten and simplify the script.