matplotlib.pyplot.
suptitle
(t, **kwargs)[source]¶Add a centered title to the figure.
Parameters: | t : str
x : float, default 0.5
y : float, default 0.98
horizontalalignment, ha : {'center', 'left', right'}, default: 'center'
verticalalignment, va : {'top', 'center', 'bottom', 'baseline'}, default: 'top'
fontsize, size : default:
fontweight, weight : default:
|
---|---|
Returns: | text
|
Other Parameters: | fontproperties : None or dict, optional
**kwargs
|
Examples
>>> fig.suptitle('This is the figure title', fontsize=12)