Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yohai committed Jul 12, 2018
1 parent 5b3714c commit e89c27f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xarray/plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ def line(darray, *args, **kwargs):
if row or col:
allargs = locals().copy()
allargs.update(allargs.pop('kwargs'))
allargs.update(allargs.pop('args'))
return _line_facetgrid(**allargs)

ndims = len(darray.dims)
Expand All @@ -351,6 +350,8 @@ def line(darray, *args, **kwargs):
yincrease = kwargs.pop('yincrease', True)
add_legend = kwargs.pop('add_legend', True)
_labels = kwargs.pop('_labels', True)
if args is ():
args = kwargs.pop('args', ())

ax = get_axis(figsize, size, aspect, ax)
xplt, yplt, hueplt, xlabel, ylabel, huelabel = \
Expand Down

0 comments on commit e89c27f

Please sign in to comment.