Skip to content

Commit e04a239

Browse files
author
y-p
committed
BUG: fix failing test TestSeriesPlots.test_bar_colors
1 parent bf42405 commit e04a239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/test_graphics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def test_bar_colors(self):
8181

8282
conv = colors.colorConverter
8383
for i, rect in enumerate(rects[::5]):
84-
xp = conv.to_rgba(default_colors[i])
84+
xp = conv.to_rgba(default_colors[i % len(default_colors)])
8585
rs = rect.get_facecolor()
8686
self.assert_(xp == rs)
8787

0 commit comments

Comments
 (0)