Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 78c4619

Browse files
committed
Use default style in test
1 parent 9b04f25 commit 78c4619

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1552,6 +1552,7 @@ def test_bar_pandas_indexed(pd):
15521552

15531553

15541554
@check_figures_equal()
1555+
@pytest.mark.style('default')
15551556
def test_bar_hatches(fig_test, fig_ref):
15561557
ax_test = fig_test.subplots()
15571558
ax_ref = fig_ref.subplots()
@@ -1560,7 +1561,7 @@ def test_bar_hatches(fig_test, fig_ref):
15601561
y = [2, 3]
15611562
hatches = ['x', 'o']
15621563
for i in range(2):
1563-
ax_ref.bar(x[i], y[i], color='blue', hatch=hatches[i])
1564+
ax_ref.bar(x[i], y[i], color='C0', hatch=hatches[i])
15641565

15651566
ax_test.bar(x, y, hatch=hatches)
15661567

0 commit comments

Comments
 (0)