🔵 🔵 🔵


Primary

၊၊||၊|။

pyplot.suptitle() ⚬|Documentation|1st|20251021151002-00-⌔

matplotlib.pyplot.suptitle — Matplotlib 3.10.8 documentation#matplotlib.pyplot.suptitle

matplotlib.pyplot.suptitle(t, ﹡﹡kwargs)

Add a centered super title to the figure.

Parameters:
t: str

The super title text.

x: float, default: 0.5

The x location of the text in figure coordinates.

y: float, default: 0.98

The y location of the text in figure coordinates.

horizontalalignment, ha: {‘center’, ‘left’, ‘right’}, default: center

The horizontal alignment of the text relative to (x, y).

verticalalignment, va: {‘top’, ‘center’, ‘bottom’, ‘baseline’}, default: top

The vertical alignment of the text relative to (x, y).

fontsize, size: default: rcParams["figure.titlesize"] (default: 'large')

The font size of the text. See Text.set_size for possible values.

fontweight, weight: default: rcParams["figure.titleweight"] (default: 'normal')

The font weight of the text. See Text.set_weight for possible values.

Returns:
text

The Text instance of the super title.

Other Parameters:
fontproperties: None or dict, optional

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.

﹡﹡kwargs

Additional kwargs are matplotlib.text.Text properties.

Notes:

Note: This is the pyplot wrapper for Figure.suptitle.

Printed 2026-06-28.

(echo:: @ )

Link to original

Secondary

• • •