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?
Answers:
You can use the pyplot.suptitle
command to add a centered title to the figure in addition to sub plot titles.
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?
You can use the pyplot.suptitle
command to add a centered title to the figure in addition to sub plot titles.