We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6d49aa commit 0a1fb04Copy full SHA for 0a1fb04
lib/matplotlib/pyplot.py
@@ -1186,7 +1186,7 @@ def box(on=None):
1186
1187
def title(s, *args, **kwargs):
1188
"""
1189
- title(label, loc='center', fontdict=None, **kwargs)
+ title(label, fontdict=None, loc='center', **kwargs)
1190
1191
Set a title of the current axes.
1192
@@ -1198,14 +1198,14 @@ def title(s, *args, **kwargs):
1198
----------
1199
label : str
1200
Text to use for the title
1201
- loc : {'center', 'left', 'right'}, str, optional
1202
- Which title to set, defaults to 'center'
1203
fontdict : dict
1204
A dictionary controlling the appearance of the title text,
1205
the default `fontdict` is:
1206
{'fontsize': rcParams['axes.titlesize'],
1207
'verticalalignment': 'baseline',
1208
'horizontalalignment': loc}
+ loc : {'center', 'left', 'right'}, str, optional
+ Which title to set, defaults to 'center'
1209
1210
Returns
1211
-------
0 commit comments