8000 ENH: use fewer points for 3d quiver plot by perimosocordiae · Pull Request #3760 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

ENH: use fewer points for 3d quiver plot #3760

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 6, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ENH: use fewer points for 3d quiver plot
  • Loading branch information
perimosocordiae committed Nov 5, 2014
commit 78e9b56cb5ecc44db38a54012e1506d881e757ed
3 changes: 1 addition & 2 deletions lib/mpl_toolkits/mplot3d/axes3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2544,8 +2544,7 @@ def calc_arrow(uvw, angle=15):
# must all in same shape
assert len(set([k.shape for k in input_args])) == 1

# TODO: num should probably get parameterized
shaft_dt = np.linspace(0, length, num=20)
shaft_dt = np.linspace(0, length, num=2)
arrow_dt = shaft_dt * arrow_length_ratio

if pivot == 'tail':
Expand Down
0