Set a title for the Axes.
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.
Text to use for the title
Discouraged
The use of fontdict is discouraged. Parameters should be passed as individual keyword arguments or using dictionary-unpacking set_title(..., **fontdict)
.
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}
rcParams["axes.titlelocation"]
(default: 'center'
)
Which title to set.
rcParams["axes.titley"]
(default: None
)
Vertical Axes location for the title (1.0 is the top). If None (the default) and rcParams["axes.titley"]
(default: None
) is also None, y is determined automatically to avoid decorators on the Axes.
rcParams["axes.titlepad"]
(default: 6.0
)
The offset of the title from the top of the Axes, in points.
Text
The matplotlib text instance representing the title
Text
properties
Other keyword arguments are text properties, see Text
for a list of valid text properties.
Notes
matplotlib.pyplot.title
#
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4