Skip to content

Commit e35e428

Browse files
committed
slightly increase tolerance for not-really-failing tests
1 parent 84a0313 commit e35e428

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/tests/test_axes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ def test_markevery():
13291329
ax.legend()
13301330

13311331

1332-
@image_comparison(baseline_images=['markevery_line'],
1332+
@image_comparison(baseline_images=['markevery_line'], tol=0.005,
13331333
remove_text=True)
13341334
def test_markevery_line():
13351335
x = np.linspace(0, 10, 100)

lib/matplotlib/tests/test_legend.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_legend_auto2():
5656
ax.legend([b1[0], b2[0]], ['up', 'down'], loc='best')
5757

5858

59-
@image_comparison(baseline_images=['legend_auto3'])
59+
@image_comparison(baseline_images=['legend_auto3'], tol=0.002)
6060
def test_legend_auto3():
6161
'Test automatic legend placement'
6262
fig = plt.figure()

0 commit comments

Comments
 (0)