I understand that matplotlib.figure.suptitle()
adds a title to a figure.
But what does the "sup" stand for?
I understand that matplotlib.figure.suptitle()
adds a title to a figure.
But what does the "sup" stand for?
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.