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

Skip to content

Commit 15fc856

Browse files
committed
TST: Fix streamplot test images
1 parent 0f36b56 commit 15fc856

20 files changed

Lines changed: 12752 additions & 14285 deletions

lib/matplotlib/streamplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,11 +603,11 @@ def interpgrid(a, xi, yi):
603603
x = int(xi)
604604
y = int(yi)
605605
# conditional is faster than clipping for integers
606-
if x == (Nx - 1):
606+
if x == (Nx - 1):
607607
xn = x
608608
else:
609609
xn = x + 1
610-
if y == (Ny - 1):
610+
if y == (Ny - 1):
611611
yn = y
612612
else:
613613
yn = y + 1
Binary file not shown.
-23.8 KB
Loading

0 commit comments

Comments
 (0)