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

Skip to content

Commit 28d3fcd

Browse files
committed
Merge pull request #3760 from perimosocordiae/quiver3d
PRF : use fewer points for 3d quiver plot
2 parents 2b2016a + 78e9b56 commit 28d3fcd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2544,8 +2544,7 @@ def calc_arrow(uvw, angle=15):
25442544
# must all in same shape
25452545
assert len(set([k.shape for k in input_args])) == 1
25462546

2547-
# TODO: num should probably get parameterized
2548-
shaft_dt = np.linspace(0, length, num=20)
2547+
shaft_dt = np.linspace(0, length, num=2)
25492548
arrow_dt = shaft_dt * arrow_length_ratio
25502549

25512550
if pivot == 'tail':

0 commit comments

Comments
 (0)