Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 852018f

Browse files
author
LindyBalboa
committed
Replace missing line breaks
1 parent 063f5e5 commit 852018f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,17 @@ def _plot_args_replacer(args, data):
7575
except ValueError:
7676
pass
7777
else:
78-
msg = "Second argument '{}' is ambiguous: could be a color spec "
79-
"but is in data. Using as data.\nEither rename the "
80-
"entry in data or use three arguments "
78+
msg = "Second argument '{}' is ambiguous: could be a color spec " \
79+
"but is in data. Using as data.\nEither rename the " \
80+
"entry in data or use three arguments " \
8181
"to plot.".format(args[1])
8282
warnings.warn(msg, RuntimeWarning, stacklevel=3)
8383
return ['x', 'y']
8484
elif len(args) == 3:
8585
return ['x', 'y', 'c']
8686
else:
87-
raise ValueError("Using arbitrary long args with data is not "
88-
"supported due to ambiguity of arguments.\nUse "
87+
raise ValueError("Using arbitrary long args with data is not " \
88+
"supported due to ambiguity of arguments.\nUse " \
8989
"multiple plotting calls instead.")
9090

9191

@@ -532,7 +532,7 @@ def legend(self, *args, **kwargs):
532532
if label.startswith('_'):
533533
warnings.warn("The handle {!r} has a label of {!r} which "
534534
"cannot be automatically added to the "
535-
"legend.'.format(handle, label))
535+
"legend.".format(handle, label))
536536
labels.remove(label)
537537
handles.remove(handle)
538538

0 commit comments

Comments
 (0)