diff --git a/xarray/tests/test_plot.py b/xarray/tests/test_plot.py index 07ee65645da..b34880f3e6b 100644 --- a/xarray/tests/test_plot.py +++ b/xarray/tests/test_plot.py @@ -1625,9 +1625,9 @@ def test_wrong_num_of_dimensions(self): class TestScatterPlots(PlotTestCase): def setUp(self): das = [DataArray(np.random.randn(3, 3, 4, 4), - dims=['x', 'row', 'col', 'hue'], - coords=[range(k) for k in [3, 3, 4, 4]]) - for _ in [1, 2]] + dims=['x', 'row', 'col', 'hue'], + coords=[range(k) for k in [3, 3, 4, 4]]) + for _ in [1, 2]] ds = Dataset({'A': das[0], 'B': das[1]}) ds.hue.name = 'huename' ds.hue.attrs['units'] = 'hunits'