6

I understand that matplotlib.figure.suptitle() adds a title to a figure.

But what does the "sup" stand for?

Suever
  • 64,497
  • 14
  • 82
  • 101
user7586189
  • 1,249
  • 8
  • 17
  • 5
    A "Super" title. A title which is at the top of the figure above *all* subplots – Suever Jun 01 '17 at 12:59
  • 4
    The suggested duplicate does explain the difference between title and suptitle, but not what "sup" stands for, which is what the OP asked. – tmdavison Jun 01 '17 at 13:32

1 Answers1

8

It is an abbreviation indicating a "super" title. It is a title which appears at the top of the figure, whereas a normal title only appears above a particular axes. If you only have one axes object, then there's unlikely an appreciable difference, but the difference happens when you have multiple subplots on the same figure and you would like a title at the top of the figure not on each of the axes objects.

Suever
  • 64,497
  • 14
  • 82
  • 101
  • A suptitle appears to be placed slightly higher above the top of the chart than a title. – Alper Aug 17 '22 at 15:32