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

Skip to content

Commit 6f30168

Browse files
committed
Space after :
1 parent c9ef9c4 commit 6f30168

13 files changed

+20
-20
lines changed

lib/matplotlib/tests/test_arrow_patches.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __prepare_fancyarrow_dpi_cor_test():
6969

7070
@image_comparison(baseline_images=['fancyarrow_dpi_cor_100dpi'],
7171
remove_text=True, extensions=['png'],
72-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
72+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
7373
savefig_kwarg=dict(dpi=100))
7474
def test_fancyarrow_dpi_cor_100dpi():
7575
"""
@@ -85,7 +85,7 @@ def test_fancyarrow_dpi_cor_100dpi():
8585

8686
@image_comparison(baseline_images=['fancyarrow_dpi_cor_200dpi'],
8787
remove_text=True, extensions=['png'],
88-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
88+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
8989
savefig_kwarg=dict(dpi=200))
9090
def test_fancyarrow_dpi_cor_200dpi():
9191
"""

lib/matplotlib/tests/test_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3351,7 +3351,7 @@ def test_vertex_markers():
33513351

33523352
@image_comparison(baseline_images=['vline_hline_zorder',
33533353
'errorbar_zorder'],
3354-
tol={'aarch64':0.02}.get(platform.machine(), 0.0))
3354+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0))
33553355
def test_eb_line_zorder():
33563356
x = list(range(10))
33573357

@@ -5123,7 +5123,7 @@ def test_title_location_roundtrip():
51235123

51245124
@image_comparison(baseline_images=["loglog"], remove_text=True,
51255125
extensions=['png'],
5126-
tol={'aarch64':0.02}.get(platform.machine(), 0.0))
5126+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0))
51275127
def test_loglog():
51285128
fig, ax = plt.subplots()
51295129
x = np.arange(1, 11)

lib/matplotlib/tests/test_collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def test_barb_limits():
442442

443443
@image_comparison(baseline_images=['EllipseCollection_test_image'],
444444
extensions=['png'],
445-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
445+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
446446
remove_text=True)
447447
def test_EllipseCollection():
448448
# Test basic functionality

lib/matplotlib/tests/test_cycles.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
@image_comparison(baseline_images=['color_cycle_basic'], remove_text=True,
13-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
13+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
1414
extensions=['png'])
1515
def test_colorcycle_basic():
1616
fig, ax = plt.subplots()
@@ -28,7 +28,7 @@ def test_colorcycle_basic():
2828

2929

3030
@image_comparison(baseline_images=['marker_cycle', 'marker_cycle'],
31-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
31+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
3232
remove_text=True, extensions=['png'])
3333
def test_marker_cycle():
3434
fig, ax = plt.subplots()
@@ -62,7 +62,7 @@ def test_marker_cycle():
6262

6363

6464
@image_comparison(baseline_images=['lineprop_cycle_basic'], remove_text=True,
65-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
65+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
6666
extensions=['png'])
6767
def test_linestylecycle_basic():
6868
fig, ax = plt.subplots()

lib/matplotlib/tests/test_figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
@image_comparison(baseline_images=['figure_align_labels'],
17-
tol={'aarch64':0.02}.get(platform.machine(), 0.0))
17+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0))
1818
def test_align_labels():
1919
# Check the figure.align_labels() command
2020
fig = plt.figure(tight_layout=True)

lib/matplotlib/tests/test_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ def test_imshow_endianess():
760760

761761

762762
@image_comparison(baseline_images=['imshow_masked_interpolation'],
763-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
763+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
764764
remove_text=True, style='mpl20')
765765
def test_imshow_masked_interpolation():
766766

lib/matplotlib/tests/test_legend.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def test_multiple_keys():
108108

109109

110110
@image_comparison(baseline_images=['rgba_alpha'],
111-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
111+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
112112
extensions=['png'], remove_text=True)
113113
def test_alpha_rgba():
114114
import matplotlib.pyplot as plt
@@ -120,7 +120,7 @@ def test_alpha_rgba():
120120

121121

122122
@image_comparison(baseline_images=['rcparam_alpha'],
123-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
123+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
124124
extensions=['png'], remove_text=True)
125125
def test_alpha_rcparam():
126126
import matplotlib.pyplot as plt
@@ -149,7 +149,7 @@ def test_fancy():
149149

150150

151151
@image_comparison(baseline_images=['framealpha'], remove_text=True,
152-
tol={'aarch64':0.02}.get(platform.machine(), 0.0))
152+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0))
153153
def test_framealpha():
154154
x = np.linspace(1, 100, 100)
155155
y = x

lib/matplotlib/tests/test_pickle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_simple():
4444

4545
@image_comparison(baseline_images=['multi_pickle'],
4646
extensions=['png'], remove_text=True,
47-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
47+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
4848
style='mpl20')
4949
def test_complete():
5050
fig = plt.figure('Figure with a label?', figsize=(10, 6))

lib/matplotlib/tests/test_scale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def test_logscale_transform_repr():
9999

100100

101101
@image_comparison(baseline_images=['logscale_nonpos_values'], remove_text=True,
102-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
102+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
103103
extensions=['png'], style='mpl20')
104104
def test_logscale_nonpos_values():
105105
np.random.seed(19680801)

lib/matplotlib/tests/test_streamplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_colormap():
4949

5050

5151
@image_comparison(baseline_images=['streamplot_linewidth'],
52-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
52+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
5353
remove_text=True, style='mpl20')
5454
def test_linewidth():
5555
X, Y, U, V = velocity_field()

lib/matplotlib/tests/test_units.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __array__(self):
4141
# Tests that the conversion machinery works properly for classes that
4242
# work as a facade over numpy arrays (like pint)
4343
@image_comparison(baseline_images=['plot_pint'],
44-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
44+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
4545
extensions=['png'], remove_text=False, style='mpl20')
4646
def test_numpy_facade():
4747
# Create an instance of the conversion interface and
@@ -86,7 +86,7 @@ def convert(value, unit, axis):
8686

8787
# Tests gh-8908
8888
@image_comparison(baseline_images=['plot_masked_units'],
89-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
89+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
9090
extensions=['png'], remove_text=True, style='mpl20')
9191
def test_plot_masked_units():
9292
data = np.linspace(-5, 5)

lib/mpl_toolkits/tests/test_axes_grid1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def test_zooming_with_inverted_axes():
359359

360360

361361
@image_comparison(baseline_images=['anchored_direction_arrows'],
362-
tol={'aarch64':0.02}.get(platform.machine(), 0.0),
362+
tol={'aarch64': 0.02}.get(platform.machine(), 0.0),
363363
extensions=['png'])
364364
def test_anchored_direction_arrows():
365365
fig, ax = plt.subplots()

lib/mpl_toolkits/tests/test_axisartist_grid_helper_curvelinear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def inverted(self):
8585

8686

8787
@image_comparison(baseline_images=['polar_box'],
88-
tol={'aarch64':0.04}.get(platform.machine(), 0.03),
88+
tol={'aarch64': 0.04}.get(platform.machine(), 0.03),
8989
extensions=['png'], style='default')
9090
def test_polar_box():
9191
fig = plt.figure(figsize=(5, 5))

0 commit comments

Comments
 (0)