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

Skip to content

Commit 50c0b74

Browse files
committed
Adjust tol so that test pass both locally for me on osx and on travis
1 parent beaaff5 commit 50c0b74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/matplotlib/tests/test_usetex.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
import matplotlib.pyplot as plt
77

88

9-
@image_comparison(baseline_images=['test_usetex'], extensions=['pdf', 'png'])
9+
@image_comparison(baseline_images=['test_usetex'],
10+
extensions=['pdf', 'png'],
11+
tol=0.3)
1012
def test_usetex():
1113
matplotlib.rcParams['text.usetex'] = True
1214
fig = plt.figure()

0 commit comments

Comments
 (0)