add title for subplot matplotlib code example Example: subplots titles ax[i].title.set_text('First Plot') plt.show()