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

Skip to content

Commit 4ac6780

Browse files
committed
Merge pull request #1817 from ianthomas23/improved_triinterp_test
Improved test_triinterp_colinear
2 parents 69e1649 + 0e6cb45 commit 4ac6780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_triangulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ def test_triinterp_colinear():
545545
# avoid issues related to round-off errors we only use integer
546546
# coefficients (otherwise the Triangulation might become invalid even with
547547
# delta == 0).
548-
transformations = [[1, 0], [0, 1], [1, 1], [3, 7], [-5, -2], [-3, 2]]
548+
transformations = [[1, 0], [0, 1], [1, 1], [1, 2], [-2, -1], [-2, 1]]
549549
for transformation in transformations:
550550
x_rot = transformation[0]*x0 + transformation[1]*y0
551551
y_rot = -transformation[1]*x0 + transformation[0]*y0

0 commit comments

Comments
 (0)