@@ -1311,17 +1311,24 @@ def title(s, *args, **kwargs):
13111311 positioned above the axes in the center, flush with the left edge,
13121312 and flush with the right edge.
13131313
1314+ .. seealso::
1315+ See :func:`~matplotlib.pyplot.text` for adding text
1316+ to the current axes
1317+
13141318 Parameters
13151319 ----------
13161320 label : str
13171321 Text to use for the title
1322+
13181323 fontdict : dict
13191324 A dictionary controlling the appearance of the title text,
13201325 the default `fontdict` is:
1321- {'fontsize': rcParams['axes.titlesize'],
1322- 'fontweight' : rcParams['axes.titleweight'],
1323- 'verticalalignment': 'baseline',
1324- 'horizontalalignment': loc}
1326+
1327+ {'fontsize': rcParams['axes.titlesize'],
1328+ 'fontweight' : rcParams['axes.titleweight'],
1329+ 'verticalalignment': 'baseline',
1330+ 'horizontalalignment': loc}
1331+
13251332 loc : {'center', 'left', 'right'}, str, optional
13261333 Which title to set, defaults to 'center'
13271334
@@ -1337,11 +1344,6 @@ def title(s, *args, **kwargs):
13371344 :class:`~matplotlib.text.Text` for a list of valid text
13381345 properties.
13391346
1340-
1341- See also
1342- --------
1343- See :func:`~matplotlib.pyplot.text` for adding text to the current axes
1344-
13451347 """
13461348 l = gca ().set_title (s , * args , ** kwargs )
13471349 draw_if_interactive ()
0 commit comments