@@ -985,7 +985,7 @@ def pcolormesh(x, y, z, ax, infer_intervals=None, **kwargs):
985
985
986
986
def dataset_scatter (ds , x = None , y = None , hue = None , col = None , row = None ,
987
987
col_wrap = None , sharex = True , sharey = True , aspect = None ,
988
- size = None , subplot_kws = None , add_legend = True , ** kwargs ):
988
+ size = None , subplot_kws = None , add_legend = True , ** kwargs ):
989
989
if col or row :
990
990
ax = kwargs .pop ('ax' , None )
991
991
figsize = kwargs .pop ('figsize' , None )
@@ -996,14 +996,17 @@ def dataset_scatter(ds, x=None, y=None, hue=None, col=None, row=None,
996
996
if size is None :
997
997
size = 3
998
998
elif figsize is not None :
999
- raise ValueError ('cannot provide both `figsize` and `size` arguments' )
999
+ raise ValueError ('cannot provide both `figsize` and'
1000
+ '`size` arguments' )
1000
1001
1001
1002
g = FacetGrid (data = ds , col = col , row = row , col_wrap = col_wrap ,
1002
1003
sharex = sharex , sharey = sharey , figsize = figsize ,
1003
1004
aspect = aspect , size = size , subplot_kws = subplot_kws )
1004
- return g .map_dataarray_line (x = x , y = y , hue = hue , plotfunc = dataset_scatter , ** kwargs )
1005
+ return g .map_dataarray_line (x = x , y = y , hue = hue ,
1006
+ plotfunc = dataset_scatter , ** kwargs )
1005
1007
1006
- xplt , yplt , hueplt , xlabel , ylabel , huelabel = _infer_scatter_data (ds , x , y , hue )
1008
+ xplt , yplt , hueplt , xlabel , ylabel , huelabel = _infer_scatter_data (ds , x ,
1009
+ y , hue )
1007
1010
1008
1011
figsize = kwargs .pop ('figsize' , None )
1009
1012
ax = kwargs .pop ('ax' , None )
0 commit comments