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 427cadc

Browse filesBrowse files
ayshihQuLogic
andauthored
Apply suggestions from code review
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent 77bdca4 commit 427cadc
Copy full SHA for 427cadc

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-3
lines changed

‎lib/matplotlib/tests/test_image.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_image.py
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,8 +1656,7 @@ def test_resample_nonaffine(data, interpolation, expected):
16561656
affine_transform = Affine2D().scale(sx=expected.shape[1] / data.shape[1], sy=1)
16571657

16581658
affine_result = np.empty_like(expected)
1659-
mimage.resample(data, affine_result, affine_transform,
1660-
interpolation=interpolation)
1659+
mimage.resample(data, affine_result, affine_transform, interpolation=interpolation)
16611660
assert_allclose(affine_result, expected)
16621661

16631662
# Create a nonaffine version of the same transform
@@ -1672,7 +1671,7 @@ def inverted(self):
16721671

16731672
nonaffine_result = np.empty_like(expected)
16741673
mimage.resample(data, nonaffine_result, nonaffine_transform,
1675-
interpolation=interpolation)
1674+
interpolation=interpolation)
16761675
assert_allclose(nonaffine_result, expected, atol=5e-3)
16771676

16781677

0 commit comments

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