10000 fix · matplotlib/matplotlib@9e44bf9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9e44bf9

Browse files
committed
fix
1 parent 9b97d3c commit 9e44bf9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 5 additions & 5 deletions
F055
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def set_title(self, label, fontdict=None, loc=None, pad=None,
181181
title.update(kwargs)
182182
return title
183183

184-
def get_xlabel(self):
184+
def get_xlabel(self):
185185
"""
186186
Get the xlabel text string.
187187
"""
@@ -221,8 +221,8 @@ def set_xlabel(self, xlabel, fontdict=None, labelpad=None, *,
221221
if any([k in kwargs for k in _protected_kw]):
222222
if loc is not None:
223223
raise TypeError('Specifying *loc* is disallowed when any of '
224-
'its corresponding low level kwargs {} '
225-
'are supplied as well.'.format(_protected_kw))
224+
'its corresponding low level kwargs {} '
225+
'are supplied as well.'.format(_protected_kw))
226226
loc = 'center'
227227
else:
228228
loc = loc if loc is not None else rcParams['xaxis.labellocation']
@@ -276,8 +276,8 @@ def set_ylabel(self, ylabel, fontdict=None, labelpad=None, *,
276276
if any([k in kwargs for k in _protected_kw]):
277277
if loc is not None:
278278
raise TypeError('Specifying *loc* is disallowed when any of '
279-
'its corresponding low level kwargs {} '
280-
'are supplied as well.'.format(_protected_kw))
279+
'its corresponding low level kwargs {} '
280+
'are supplied as well.'.format(_protected_kw))
281281
loc = 'center'
282282
else:
283283
loc = loc if loc is not None else rcParams['yaxis.labellocation']

0 commit comments

Comments
 (0)
0