J4y J4y - 1 year ago 172
Python Question

How do you add an overall title to a figure with subplots in matplotlib?

I can see that you can add a title to each subplot, as discussed here:

How to add title to subplots in Matplotlib?

Is there a way to add an overall title in addition to the subplot titles?

overall title

Answer Source


fig = plt.figure()
fig.suptitle('this is the figure title')
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download