| |
@@ -1,4 +1,4 @@
|
| |
- From a9c30f31914db1afc25a7e56ab0a02633b7b1f37 Mon Sep 17 00:00:00 2001
|
| |
+ From 293da37b505be24404df8aea605ab424e0420f1b Mon Sep 17 00:00:00 2001
|
| |
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
| |
Date: Sat, 31 Mar 2018 00:15:14 -0400
|
| |
Subject: [PATCH 3/3] Increase some tolerances for 32-bit systems.
|
| |
@@ -57,7 +57,7 @@
|
| |
exterior = mpath.Path.unit_rectangle().deepcopy()
|
| |
exterior.vertices *= 4
|
| |
diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py
|
| |
- index 6afed91f3..e931e7a4a 100644
|
| |
+ index 3c9b7dfc5..12a7d2466 100644
|
| |
--- a/lib/matplotlib/tests/test_axes.py
|
| |
+++ b/lib/matplotlib/tests/test_axes.py
|
| |
@@ -553,7 +553,7 @@ def test_single_point():
|
| |
@@ -107,7 +107,7 @@
|
| |
def test_arc_angles():
|
| |
from matplotlib import patches
|
| |
# Ellipse parameters
|
| |
- @@ -2533,7 +2535,7 @@ def test_boxplot_mod_artist_after_plotting():
|
| |
+ @@ -2539,7 +2541,7 @@ def test_boxplot_mod_artist_after_plotting():
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_vert_baseline',
|
| |
'violinplot_vert_baseline'],
|
| |
@@ -116,7 +116,7 @@
|
| |
def test_vert_violinplot_baseline():
|
| |
# First 9 digits of frac(sqrt(2))
|
| |
np.random.seed(414213562)
|
| |
- @@ -2551,7 +2553,7 @@ def test_vert_violinplot_baseline():
|
| |
+ @@ -2557,7 +2559,7 @@ def test_vert_violinplot_baseline():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_vert_showmeans'],
|
| |
@@ -125,7 +125,7 @@
|
| |
def test_vert_violinplot_showmeans():
|
| |
ax = plt.axes()
|
| |
# First 9 digits of frac(sqrt(3))
|
| |
- @@ -2562,7 +2564,7 @@ def test_vert_violinplot_showmeans():
|
| |
+ @@ -2568,7 +2570,7 @@ def test_vert_violinplot_showmeans():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_vert_showextrema'],
|
| |
@@ -134,7 +134,7 @@
|
| |
def test_vert_violinplot_showextrema():
|
| |
ax = plt.axes()
|
| |
# First 9 digits of frac(sqrt(5))
|
| |
- @@ -2573,7 +2575,7 @@ def test_vert_violinplot_showextrema():
|
| |
+ @@ -2579,7 +2581,7 @@ def test_vert_violinplot_showextrema():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_vert_showmedians'],
|
| |
@@ -143,7 +143,7 @@
|
| |
def test_vert_violinplot_showmedians():
|
| |
ax = plt.axes()
|
| |
# First 9 digits of frac(sqrt(7))
|
| |
- @@ -2584,7 +2586,7 @@ def test_vert_violinplot_showmedians():
|
| |
+ @@ -2590,7 +2592,7 @@ def test_vert_violinplot_showmedians():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_vert_showall'],
|
| |
@@ -152,7 +152,7 @@
|
| |
def test_vert_violinplot_showall():
|
| |
ax = plt.axes()
|
| |
# First 9 digits of frac(sqrt(11))
|
| |
- @@ -2595,7 +2597,7 @@ def test_vert_violinplot_showall():
|
| |
+ @@ -2601,7 +2603,7 @@ def test_vert_violinplot_showall():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_vert_custompoints_10'],
|
| |
@@ -161,7 +161,7 @@
|
| |
def test_vert_violinplot_custompoints_10():
|
| |
ax = plt.axes()
|
| |
# First 9 digits of frac(sqrt(13))
|
| |
- @@ -2606,7 +2608,7 @@ def test_vert_violinplot_custompoints_10():
|
| |
+ @@ -2612,7 +2614,7 @@ def test_vert_violinplot_custompoints_10():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_vert_custompoints_200'],
|
| |
@@ -170,7 +170,7 @@
|
| |
def test_vert_violinplot_custompoints_200():
|
| |
ax = plt.axes()
|
| |
# First 9 digits of frac(sqrt(17))
|
| |
- @@ -2617,7 +2619,7 @@ def test_vert_violinplot_custompoints_200():
|
| |
+ @@ -2623,7 +2625,7 @@ def test_vert_violinplot_custompoints_200():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_horiz_baseline'],
|
| |
@@ -179,7 +179,7 @@
|
| |
def test_horiz_violinplot_baseline():
|
| |
ax = plt.axes()
|
| |
# First 9 digits of frac(sqrt(19))
|
| |
- @@ -2628,7 +2630,7 @@ def test_horiz_violinplot_baseline():
|
| |
+ @@ -2634,7 +2636,7 @@ def test_horiz_violinplot_baseline():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_horiz_showmedians'],
|
| |
@@ -188,7 +188,7 @@
|
| |
def test_horiz_violinplot_showmedians():
|
| |
ax = plt.axes()
|
| |
# First 9 digits of frac(sqrt(23))
|
| |
- @@ -2639,7 +2641,7 @@ def test_horiz_violinplot_showmedians():
|
| |
+ @@ -2645,7 +2647,7 @@ def test_horiz_violinplot_showmedians():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_horiz_showmeans'],
|
| |
@@ -197,7 +197,7 @@
|
| |
def test_horiz_violinplot_showmeans():
|
| |
ax = plt.axes()
|
| |
# First 9 digits of frac(sqrt(29))
|
| |
- @@ -2650,7 +2652,7 @@ def test_horiz_violinplot_showmeans():
|
| |
+ @@ -2656,7 +2658,7 @@ def test_horiz_violinplot_showmeans():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_horiz_showextrema'],
|
| |
@@ -206,7 +206,7 @@
|
| |
def test_horiz_violinplot_showextrema():
|
| |
ax = plt.axes()
|
| |
# First 9 digits of frac(sqrt(31))
|
| |
- @@ -2661,7 +2663,7 @@ def test_horiz_violinplot_showextrema():
|
| |
+ @@ -2667,7 +2669,7 @@ def test_horiz_violinplot_showextrema():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_horiz_showall'],
|
| |
@@ -215,7 +215,7 @@
|
| |
def test_horiz_violinplot_showall():
|
| |
ax = plt.axes()
|
| |
# First 9 digits of frac(sqrt(37))
|
| |
- @@ -2672,7 +2674,7 @@ def test_horiz_violinplot_showall():
|
| |
+ @@ -2678,7 +2680,7 @@ def test_horiz_violinplot_showall():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_horiz_custompoints_10'],
|
| |
@@ -224,7 +224,7 @@
|
| |
def test_horiz_violinplot_custompoints_10():
|
| |
ax = plt.axes()
|
| |
# First 9 digits of frac(sqrt(41))
|
| |
- @@ -2683,7 +2685,7 @@ def test_horiz_violinplot_custompoints_10():
|
| |
+ @@ -2689,7 +2691,7 @@ def test_horiz_violinplot_custompoints_10():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['violinplot_horiz_custompoints_200'],
|
| |
@@ -233,7 +233,7 @@
|
| |
def test_horiz_violinplot_custompoints_200():
|
| |
ax = plt.axes()
|
| |
# First 9 digits of frac(sqrt(43))
|
| |
- @@ -3347,8 +3349,7 @@ def test_vertex_markers():
|
| |
+ @@ -3368,8 +3370,7 @@ def test_vertex_markers():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['vline_hline_zorder',
|
| |
@@ -243,7 +243,7 @@
|
| |
def test_eb_line_zorder():
|
| |
x = list(range(10))
|
| |
|
| |
- @@ -4028,7 +4029,7 @@ def test_psd_noise():
|
| |
+ @@ -4049,7 +4050,7 @@ def test_psd_noise():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['csd_freqs'], remove_text=True,
|
| |
@@ -252,7 +252,7 @@
|
| |
def test_csd_freqs():
|
| |
'''test axes.csd with sinusoidal stimuli'''
|
| |
n = 10000
|
| |
- @@ -4921,7 +4922,7 @@ def test_rc_spines():
|
| |
+ @@ -4942,7 +4943,7 @@ def test_rc_spines():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['rc_grid'], extensions=['png'],
|
| |
@@ -261,7 +261,7 @@
|
| |
def test_rc_grid():
|
| |
fig = plt.figure()
|
| |
rc_dict0 = {
|
| |
- @@ -5440,7 +5441,7 @@ def test_date_timezone_y():
|
| |
+ @@ -5461,7 +5462,7 @@ def test_date_timezone_y():
|
| |
|
| |
|
| |
@image_comparison(baseline_images=['date_timezone_x_and_y'],
|
| |
@@ -284,10 +284,10 @@
|
| |
from mpl_toolkits.mplot3d import Axes3D
|
| |
|
| |
diff --git a/lib/matplotlib/tests/test_colorbar.py b/lib/matplotlib/tests/test_colorbar.py
|
| |
- index 56a829418..949eaf1b7 100644
|
| |
+ index 6137da4af..ba2815603 100644
|
| |
--- a/lib/matplotlib/tests/test_colorbar.py
|
| |
+++ b/lib/matplotlib/tests/test_colorbar.py
|
| |
- @@ -93,7 +93,7 @@ def _colorbar_extension_length(spacing):
|
| |
+ @@ -94,7 +94,7 @@ def _colorbar_extension_length(spacing):
|
| |
@image_comparison(
|
| |
baseline_images=['colorbar_extensions_shape_uniform',
|
| |
'colorbar_extensions_shape_proportional'],
|
| |
@@ -296,7 +296,7 @@
|
| |
def test_colorbar_extension_shape():
|
| |
'''Test rectangular colorbar extensions.'''
|
| |
# Create figures for uniform and proportionally spaced colorbars.
|
| |
- @@ -103,7 +103,7 @@ def test_colorbar_extension_shape():
|
| |
+ @@ -104,7 +104,7 @@ def test_colorbar_extension_shape():
|
| |
|
| |
@image_comparison(baseline_images=['colorbar_extensions_uniform',
|
| |
'colorbar_extensions_proportional'],
|
| |
@@ -305,7 +305,7 @@
|
| |
def test_colorbar_extension_length():
|
| |
'''Test variable length colorbar extensions.'''
|
| |
# Create figures for uniform and proportionally spaced colorbars.
|
| |
- @@ -117,7 +117,7 @@ def test_colorbar_extension_length():
|
| |
+ @@ -118,7 +118,7 @@ def test_colorbar_extension_length():
|
| |
'cbar_sharing',
|
| |
],
|
| |
extensions=['png'], remove_text=True,
|
| |
@@ -314,7 +314,7 @@
|
| |
def test_colorbar_positioning():
|
| |
data = np.arange(1200).reshape(30, 40)
|
| |
levels = [0, 200, 400, 600, 800, 1000, 1200]
|
| |
- @@ -171,7 +171,7 @@ def test_colorbar_positioning():
|
| |
+ @@ -172,7 +172,7 @@ def test_colorbar_positioning():
|
| |
|
| |
@image_comparison(baseline_images=['cbar_with_subplots_adjust'],
|
| |
extensions=['png'], remove_text=True,
|
| |
@@ -323,7 +323,7 @@
|
| |
def test_gridspec_make_colorbar():
|
| |
plt.figure()
|
| |
data = np.arange(1200).reshape(30, 40)
|
| |
- @@ -230,7 +230,8 @@ def test_colorbarbase():
|
| |
+ @@ -231,7 +231,8 @@ def test_colorbarbase():
|
| |
|
| |
@image_comparison(
|
| |
baseline_images=['colorbar_closed_patch'],
|
| |
@@ -334,7 +334,7 @@
|
| |
fig = plt.figure(figsize=(8, 6))
|
| |
ax1 = fig.add_axes([0.05, 0.85, 0.9, 0.1])
|
| |
diff --git a/lib/matplotlib/tests/test_constrainedlayout.py b/lib/matplotlib/tests/test_constrainedlayout.py
|
| |
- index 0803504ce..b3a615d5a 100644
|
| |
+ index e282cb6ad..701683198 100644
|
| |
--- a/lib/matplotlib/tests/test_constrainedlayout.py
|
| |
+++ b/lib/matplotlib/tests/test_constrainedlayout.py
|
| |
@@ -246,7 +246,7 @@ def test_constrained_layout12():
|
| |
@@ -347,7 +347,7 @@
|
| |
def test_constrained_layout13():
|
| |
'Test that padding works.'
|
| |
diff --git a/lib/matplotlib/tests/test_contour.py b/lib/matplotlib/tests/test_contour.py
|
| |
- index 9868f4023..d8a490794 100644
|
| |
+ index c1f27b9ef..149afadb9 100644
|
| |
--- a/lib/matplotlib/tests/test_contour.py
|
| |
+++ b/lib/matplotlib/tests/test_contour.py
|
| |
@@ -227,7 +227,8 @@ def test_given_colors_levels_and_extends():
|
| |
@@ -567,17 +567,17 @@
|
| |
# a catch-all for as many as possible plot layouts which handle
|
| |
# pre-transforming the data NOTE: The axis range is important in this
|
| |
diff --git a/lib/matplotlib/tests/test_units.py b/lib/matplotlib/tests/test_units.py
|
| |
- index 20840d7b8..80744294d 100644
|
| |
+ index fec498af3..fe8f3f383 100644
|
| |
--- a/lib/matplotlib/tests/test_units.py
|
| |
+++ b/lib/matplotlib/tests/test_units.py
|
| |
- @@ -41,7 +41,6 @@ class Quantity(object):
|
| |
+ @@ -75,7 +75,6 @@ def quantity_converter():
|
| |
# Tests that the conversion machinery works properly for classes that
|
| |
# work as a facade over numpy arrays (like pint)
|
| |
@image_comparison(baseline_images=['plot_pint'],
|
| |
- tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
|
| |
extensions=['png'], remove_text=False, style='mpl20')
|
| |
- def test_numpy_facade():
|
| |
- # Create an instance of the conversion interface and
|
| |
+ def test_numpy_facade(quantity_converter):
|
| |
+ # Register the class
|
| |
diff --git a/lib/mpl_toolkits/tests/test_axisartist_floating_axes.py b/lib/mpl_toolkits/tests/test_axisartist_floating_axes.py
|
| |
index 929c0368a..e6e5ca1ff 100644
|
| |
--- a/lib/mpl_toolkits/tests/test_axisartist_floating_axes.py
|
| |
@@ -601,7 +601,7 @@
|
| |
fig = plt.figure(figsize=(5, 5))
|
| |
fig.clf()
|
| |
diff --git a/lib/mpl_toolkits/tests/test_axisartist_grid_helper_curvelinear.py b/lib/mpl_toolkits/tests/test_axisartist_grid_helper_curvelinear.py
|
| |
- index 0f5e86322..590430315 100644
|
| |
+ index 32e1c884d..2b38866c5 100644
|
| |
--- a/lib/mpl_toolkits/tests/test_axisartist_grid_helper_curvelinear.py
|
| |
+++ b/lib/mpl_toolkits/tests/test_axisartist_grid_helper_curvelinear.py
|
| |
@@ -17,7 +17,7 @@ from mpl_toolkits.axisartist.grid_helper_curvelinear import \
|
| |