python-matplotlib/0002-Increase-tolerances-for-non-x86_64-arches.patch

27 lines
954 B
Diff
Raw Normal View History

2018-08-17 21:37:11 +00:00
From 938c1fbca5e3cb1034731f3439c3d146c02f210d Mon Sep 17 00:00:00 2001
2018-03-31 07:28:44 +00:00
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Tue, 23 Jan 2018 20:27:17 -0500
Subject: [PATCH 2/3] Increase tolerances for non-x86_64 arches.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
2018-08-17 21:37:11 +00:00
lib/matplotlib/tests/test_streamplot.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2018-03-31 07:28:44 +00:00
diff --git a/lib/matplotlib/tests/test_streamplot.py b/lib/matplotlib/tests/test_streamplot.py
2018-08-17 21:37:11 +00:00
index 17c0d1967..e261513df 100644
2018-03-31 07:28:44 +00:00
--- a/lib/matplotlib/tests/test_streamplot.py
+++ b/lib/matplotlib/tests/test_streamplot.py
2018-08-17 21:37:11 +00:00
@@ -61,7 +61,7 @@ def test_linewidth():
2018-03-31 07:28:44 +00:00
2018-08-17 21:37:11 +00:00
@image_comparison(baseline_images=['streamplot_masks_and_nans'],
- tol=0.04 if on_win else 0,
+ tol=0.04 if on_win else 0.01,
remove_text=True, style='mpl20')
2018-03-31 07:28:44 +00:00
def test_masks_and_nans():
X, Y, U, V = velocity_field()
--
2018-08-14 01:27:10 +00:00
2.17.1
2018-03-31 07:28:44 +00:00