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

Skip to content

Commit 912a34c

Browse files
committed
Increase tolerance to account for Py2/3 issue
1 parent 95fda79 commit 912a34c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ def test_hist_step_empty():
11201120
ax = plt.gca()
11211121
ax.hist([], histtype='step')
11221122

1123-
@image_comparison(baseline_images=['hist_steplog'], remove_text=True)
1123+
@image_comparison(baseline_images=['hist_steplog'], remove_text=True, tol=0.05)
11241124
def test_hist_steplog():
11251125
np.random.seed(0)
11261126
data = np.random.standard_normal(2000)

0 commit comments

Comments
 (0)