matplotlib set_title font size code example
Example 1: matplotlib change text size
import matplotlib.pyplot as plt
plt.rcParams.update({'font.size': 22})
Example 2: change title size matplotlib
ax[0].set_title("Random Excitation Signal", fontsize = 15)