I am trying to add main title to plot and also minor titles to every single subplot. I cannot figure out how to do it properly. It happens that main title is located in the same place as a title of a subplot. How to move all subplots under main title? This is how I tried to do it:
fig = plt.figure(figsize=(8.0, 5.0))
fig.suptitle('MAIN TITLE', horizontalalignment='left', fontsize=10)
plt.subplot(2, 1, 1)
plt.gca().set_title('SUBPLOT TITLE', fontsize=10)