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

Skip to content

Commit f2932c1

Browse files
committed
Fix test
1 parent 73a30aa commit f2932c1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4626,10 +4626,11 @@ def test_hist_vectorized_params(fig_test, fig_ref, histtype, color, edgecolor,
46264626
linestyle=linestyle)
46274627
ref_ax = fig_ref.subplots()
46284628

4629-
for xi, c, ec, fc, lw, hs, ls in zip(x, color, edgecolor, facecolor, linewidth,
4630-
hatch, linestyle):
4631-
ref_ax.hist(xi, bins=bins, histtype=histtype, color=c, edgecolor=ec,
4632-
facecolor=fc, linewidth=lw, hatch=hs, linestyle=ls)
4629+
for i in range(2, -1, -1):
4630+
ref_ax.hist(x[i], bins=bins, histtype=histtype, color=color[i],
4631+
edgecolor=edgecolor[i], facecolor=facecolor[i],
4632+
linewidth=linewidth[i], hatch=hatch[i],
4633+
linestyle=linestyle[i])
46334634

46344635

46354636
def test_hist_barstacked_bottom_unchanged():

0 commit comments

Comments
 (0)