8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff2a207 commit 0f75d91Copy full SHA for 0f75d91
lib/mpl_toolkits/mplot3d/axes3d.py
@@ -2544,7 +2544,7 @@ def calc_arrow(uvw, angle=15):
2544
# pivot point
2545
pivot = kwargs.pop('pivot', 'tail')
2546
# normalize
2547
- pivot = kwargs.pop('normalize', False)
+ normalize = kwargs.pop('normalize', False)
2548
2549
# handle args
2550
argi = 6
@@ -2605,8 +2605,8 @@ def calc_arrow(uvw, angle=15):
2605
# If any row of UVW is all zeros, don't make a quiver for it
2606
mask = norm > 1e-10
2607
XYZ = XYZ[mask]
2608
- if normalize == True:
2609
- UVW = UVW[mask]/ norm[mask].reshape((-1, 1))
+ if normalize:
+ UVW = UVW[mask] / norm[mask].reshape((-1, 1))
2610
else:
2611
UVW = UVW[mask]
2612
0 commit comments