matplotlib 3.5.1

Other ParametersParametersReturnsBackRef
suptitle(t, **kwargs)

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. figure.titlesize and figure.titleweight are ignored in this case.

**kwargs :

Additional kwargs are matplotlib.text.Text properties.

Parameters

t : str

The suptitle 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: :rc:`figure.titlesize`

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

fontweight, weight : default: :rc:`figure.titleweight`

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

Returns

text

The :None:None:`.Text` instance of the suptitle.

Add a centered suptitle to the figure.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

matplotlib.pyplot.plotting

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /matplotlib/pyplot.py#2294
type: <class 'function'>
Commit: