Skip to content

Commit 8265f94

Browse files
committed
Fixng PEP issues reported (pandas-dev#20585)
1 parent ac2bfb7 commit 8265f94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/plotting/_core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@ def _get_colors(self, num_colors=None, color_kwds='color'):
12371237
color = self.kwds.get(color_kwds)
12381238
if color is not None:
12391239
return color
1240-
else :
1240+
else:
12411241
num_colors = self.nseries
12421242
return _get_standard_colors(num_colors=num_colors,
12431243
colormap=self.colormap,

pandas/tests/plotting/test_series.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def test_bar_user_colors_more_limited(self):
291291
(0., 0., 1., 1.)]
292292
assert result == expected
293293

294-
@pytest.mark.parametrize("num_colors", range(0,15))
294+
@pytest.mark.parametrize("num_colors",range(0,15))
295295
def test_standard_color(self, num_colors):
296296
colors = _get_standard_colors(num_colors=num_colors)
297297

0 commit comments

Comments
 (0)