Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit da6c00b

Browse filesBrowse files
committed
Increase tolerance of png_suite test
1 parent fff1d66 commit da6c00b
Copy full SHA for da6c00b

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎lib/matplotlib/tests/test_png.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_png.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@
1212
from matplotlib import pyplot as plt
1313
import matplotlib.cm as cm
1414

15+
import sys
16+
on_win = (sys.platform == 'win32')
1517

16-
@image_comparison(baseline_images=['pngsuite'], extensions=['png'])
18+
@image_comparison(baseline_images=['pngsuite'], extensions=['png'],
19+
tol=0.01 if on_win else 0)
1720
def test_pngsuite():
1821
dirname = os.path.join(
1922
os.path.dirname(__file__),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.