Add a centered suptitle to the figure.
The suptitle text.
The x location of the text in figure coordinates.
The y location of the text in figure coordinates.
The horizontal alignment of the text relative to (x, y).
The vertical alignment of the text relative to (x, y).
rcParams["figure.titlesize"]
(default: 'large'
)
The font size of the text. See Text.set_size
for possible values.
rcParams["figure.titleweight"]
(default: 'normal'
)
The font weight of the text. See Text.set_weight
for possible values.
The Text
instance of the suptitle.
A dict of font properties. If fontproperties is given the default values for font size and weight are taken from the FontProperties
defaults. rcParams["figure.titlesize"]
(default: 'large'
) and rcParams["figure.titleweight"]
(default: 'normal'
) are ignored in this case.
Additional kwargs are matplotlib.text.Text
properties.
matplotlib.pyplot.suptitle
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.pyplot.suptitle.html