@@ -1311,17 +1311,24 @@ def title(s, *args, **kwargs):
1311
1311
positioned above the axes in the center, flush with the left edge,
1312
1312
and flush with the right edge.
1313
1313
1314
+ .. seealso::
1315
+ See :func:`~matplotlib.pyplot.text` for adding text
1316
+ to the current axes
1317
+
1314
1318
Parameters
1315
1319
----------
1316
1320
label : str
1317
1321
Text to use for the title
1322
+
1318
1323
fontdict : dict
1319
1324
A dictionary controlling the appearance of the title text,
1320
1325
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
+
1325
1332
loc : {'center', 'left', 'right'}, str, optional
1326
1333
Which title to set, defaults to 'center'
1327
1334
@@ -1337,11 +1344,6 @@ def title(s, *args, **kwargs):
1337
1344
:class:`~matplotlib.text.Text` for a list of valid text
1338
1345
properties.
1339
1346
1340
-
1341
- See also
1342
- --------
1343
- See :func:`~matplotlib.pyplot.text` for adding text to the current axes
1344
-
1345
1347
"""
1346
1348
l = gca ().set_title (s , * args , ** kwargs )
1347
1349
draw_if_interactive ()
0 commit comments