52

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?

bmu
  • 35,119
  • 13
  • 91
  • 108
lovespeed
  • 4,835
  • 15
  • 41
  • 54

1 Answers1

89

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

Mike T
  • 41,085
  • 18
  • 152
  • 203
Chris
  • 44,602
  • 16
  • 137
  • 156