8000 BUG: fixing issue #5531 · matplotlib/matplotlib@57fb822 · GitHub
[go: up one dir, main page]

Skip to content

Commit 57fb822

Browse files
perimosocordiaemdboom
authored andcommitted
BUG: fixing issue #5531
1 parent 006f6ad commit 57fb822

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
@@ -2608,7 +2608,7 @@ def calc_arrow(uvw, angle=15):
26082608
norm = np.sqrt(np.sum(UVW**2, axis=1))
26092609

26102610
# If any row of UVW is all zeros, don't make a quiver for it
2611-
mask = norm > 1e-10
2611+
mask = norm > 0
26122612
XYZ = XYZ[mask]
26132613
if normalize:
26142614
UVW = UVW[mask] / norm[mask].reshape((-1, 1))

0 commit comments

Comments
 (0)
0