Common title to many subplots in Matplotlib

Question:

I am making a chart in matplotlib and I have many subplots in it each of them with a different title, but on the top I also want to a put a title to the whole chart. How this can be done?

Asked By: lovespeed

||

Answers:

You can use the pyplot.suptitle command to add a centered title to the figure in addition to sub plot titles.

Answered By: Chris
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.