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

Skip to content

Commit ac3ed9b

Browse files
committed
Increase tolerance on some more tests
1 parent cd37bba commit ac3ed9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def test_polar_coord_annotations():
189189
ax.set_xlim( -20, 20 )
190190
ax.set_ylim( -20, 20 )
191191

192-
@image_comparison(baseline_images=['fill_units'])
192+
@image_comparison(baseline_images=['fill_units'], tol=18)
193193
def test_fill_units():
194194
from datetime import datetime
195195
import matplotlib.testing.jpl_units as units

lib/matplotlib/tests/test_dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_date_axhline():
5656
fig.subplots_adjust(left=0.25)
5757

5858

59-
@image_comparison(baseline_images=['date_axvline'])
59+
@image_comparison(baseline_images=['date_axvline'], tol=16)
6060
def test_date_axvline():
6161
# test ax hline with date inputs
6262
t0 = datetime.datetime(2000, 1, 20)

0 commit comments

Comments
 (0)