matplotlib 3.5.1

Other ParametersParametersReturnsBackRef
set_title(self, label, fontdict=None, loc=None, pad=None, *, y=None, **kwargs)

Set one of the three available Axes titles. The available titles are positioned above the Axes in the center, flush with the left edge, and flush with the right edge.

Other Parameters

**kwargs : `.Text` properties

Other keyword arguments are text properties, see :None:None:`.Text` for a list of valid text properties.

Parameters

label : str

Text to use for the title

fontdict : dict

A dictionary controlling the appearance of the title text, the default fontdict is:

{'fontsize': rcParams['axes.titlesize'],
 'fontweight': rcParams['axes.titleweight'],
 'color': rcParams['axes.titlecolor'],
 'verticalalignment': 'baseline',
 'horizontalalignment': loc}
loc : {'center', 'left', 'right'}, default: :rc:`axes.titlelocation`

Which title to set.

y : float, default: :rc:`axes.titley`

Vertical Axes loation for the title (1.0 is the top). If None (the default), y is determined automatically to avoid decorators on the Axes.

pad : float, default: :rc:`axes.titlepad`

The offset of the title from the top of the Axes, in points.

Returns

`.Text`

The matplotlib text instance representing the title

Set a title for the Axes.

Examples

See :

Back References

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

scipy.signal._filter_design.iirfilter scipy.signal._signaltools.correlate2d scipy.special._orthogonal.chebyu scipy.signal._filter_design.ellip scipy.special._spherical_bessel.spherical_kn scipy.special._orthogonal.gegenbauer scipy.special._orthogonal.jacobi scipy.special._orthogonal.genlaguerre scipy.special._spherical_bessel.spherical_yn scipy.signal._signaltools.fftconvolve scipy.signal.windows._windows.general_hamming scipy.signal._filter_design.freqz scipy.special._orthogonal.chebyt scipy.signal._filter_design.butter scipy.interpolate._fitpack2.RectSphereBivariateSpline scipy.signal._signaltools.convolve scipy.signal._filter_design.freqz_zpk scipy.special._spherical_bessel.spherical_jn scipy.special._orthogonal.laguerre scipy.signal._filter_design.cheby1 scipy.special._spherical_bessel.spherical_in scipy.signal._filter_design.iirdesign scipy.signal._signaltools.correlate scipy.signal._filter_design.cheby2 scipy.signal._signaltools.convolve2d scipy.signal._signaltools.oaconvolve

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/axes/_axes.py#93
type: <class 'function'>
Commit: