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

Skip to content

Commit 7f56bdb

Browse files
committed
1 parent 1f4c70f commit 7f56bdb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/axes3d.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,8 @@ def plot_surface(self, X, Y, Z, *args, **kwargs):
510510
#
511511
polys = []
512512
boxes = []
513-
for rs in npy.arange(0,rows,rstride):
514-
for cs in npy.arange(0,cols,cstride):
513+
for rs in npy.arange(0,rows-1,rstride):
514+
for cs in npy.arange(0,cols-1,cstride):
515515
ps = []
516516
corners = []
517517
for a,ta in [(X,tX),(Y,tY),(Z,tZ)]:

0 commit comments

Comments
 (0)