Skip to content

Commit 3cee41d

Browse files
committed
minor formatting
1 parent ff27ef5 commit 3cee41d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

xarray/plot/facetgrid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ def map_dataarray_line(self, x=None, y=None, hue=None, **kwargs):
295295
self._mappables.append(mappable)
296296

297297
_, _, hueplt, xlabel, ylabel, huelabel = _infer_line_data(
298-
darray=self.data.loc[self.name_dicts.flat[0]],
299-
x=x, y=y, hue=hue)
298+
darray=self.data.loc[self.name_dicts.flat[0]],
299+
x=x, y=y, hue=hue)
300300

301301
self._hue_var = hueplt
302302
self._hue_label = huelabel

xarray/tests/test_plot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,9 +1625,9 @@ def test_wrong_num_of_dimensions(self):
16251625
class TestScatterPlots(PlotTestCase):
16261626
def setUp(self):
16271627
das = [DataArray(np.random.randn(3, 3, 4, 4),
1628-
dims=['x', 'row', 'col', 'hue'],
1629-
coords=[range(k) for k in [3, 3, 4, 4]])
1630-
for _ in [1, 2]]
1628+
dims=['x', 'row', 'col', 'hue'],
1629+
coords=[range(k) for k in [3, 3, 4, 4]])
1630+
for _ in [1, 2]]
16311631
ds = Dataset({'A': das[0], 'B': das[1]})
16321632
ds.hue.name = 'huename'
16331633
ds.hue.attrs['units'] = 'hunits'

0 commit comments

Comments
 (0)