Skip to content

Commit e57b452

Browse files
committed
Fixing style errors.
1 parent 2b090b6 commit e57b452

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xarray/plot/plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def line(darray, *args, **kwargs):
221221
raise ValueError('y ' + error_msg)
222222

223223
if x is not None and y is not None and x == y:
224-
raise ValueError('Cannot make a plot with x=%r and y=%r' % (x,y))
224+
raise ValueError('Cannot make a plot with x=%r and y=%r' % (x, y))
225225

226226
if (x is None and y is None) or x == dim or y is darray.name:
227227
xplt = darray.coords[dim]
@@ -248,7 +248,7 @@ def line(darray, *args, **kwargs):
248248
else:
249249
if x is not None and x is not darray.name:
250250
raise ValueError('Cannot make a line plot with x=%r, y=%r and hue=%r'
251-
% (x,y,hue))
251+
% (x, y, hue))
252252

253253
ylabel, huelabel = _infer_xy_labels(darray=darray, x=y, y=hue)
254254
xlabel = darray.name

0 commit comments

Comments
 (0)