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 42fcbd4

Browse filesBrowse files
committed
TST: Increase a couple tolerances for arm64
1 parent 1e63f16 commit 42fcbd4
Copy full SHA for 42fcbd4

File tree

Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed

‎lib/matplotlib/tests/test_bbox_tight.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_bbox_tight.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_bbox_inches_tight(text_placeholders):
4747

4848
@image_comparison(['bbox_inches_tight_suptile_legend'],
4949
savefig_kwarg={'bbox_inches': 'tight'},
50-
tol=0 if platform.machine() == 'x86_64' else 0.02)
50+
tol=0 if platform.machine() == 'x86_64' else 0.022)
5151
def test_bbox_inches_tight_suptile_legend():
5252
plt.plot(np.arange(10), label='a straight line')
5353
plt.legend(bbox_to_anchor=(0.9, 1), loc='upper left')

‎lib/matplotlib/tests/test_figure.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_figure.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,8 @@ def test_subfigure_dpi():
13761376

13771377

13781378
@image_comparison(['test_subfigure_ss.png'], style='mpl20',
1379-
savefig_kwarg={'facecolor': 'teal'}, tol=0.02)
1379+
savefig_kwarg={'facecolor': 'teal'},
1380+
tol=0.022)
13801381
def test_subfigure_ss():
13811382
# test assigning the subfigure via subplotspec
13821383
np.random.seed(19680801)

0 commit comments

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