Skip to content

Commit 4690576

Browse files
committed
Be explicit about slicing
1 parent 508541a commit 4690576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2831,7 +2831,7 @@ def permutation_matrices(n):
28312831
boundary_found(p0 + square_rot, color[i0])
28322832

28332833
# draw middle faces
2834-
for r1, r2 in zip(rinds, rinds[1:]):
2834+
for r1, r2 in zip(rinds[:-1], rinds[1:]):
28352835
p1 = permute.dot([p, q, r1])
28362836
p2 = permute.dot([p, q, r2])
28372837

0 commit comments

Comments
 (0)