Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2edbf13

Browse filesBrowse files
committed
added documentation of the api change to doc/api/api_changes
1 parent c853111 commit 2edbf13
Copy full SHA for 2edbf13

File tree

Expand file treeCollapse file tree

1 file changed

+16
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+16
-0
lines changed
+16Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Modified the 3D quiver function in mpl_toolkits.mplot3d.axes3d.py to have the dafaults: normalize=False, pivot='tail'
2+
```````````````````````````
3+
Matplotlib has both a 2D and a 3D "quiver" function. These changes affect only the 3D function and make the default behavior of the 3D function match 2D version. There are two main changes:
4+
5+
1) The 3D quiver function previously normalized the arrows to be the same length, which makes it unusable for situations where the arrows should be different lengths and does not match the behavior of the 2D function. This normalization behavior is now controlled with the "normalize" keyword, which defaults to False.
6+
7+
2) The "pivot" keyword now defaults to "tail" insteaf of "tip". This was done in order to match the default behavior of the 2D quiver function.
8+
9+
To obtain the previous behavior with the 3D quiver function, one can call the function with:
10+
11+
ax.quiver(x, y, z, u, v, w, normalize=True, pivot='tip')
12+
13+
where "ax" is a axes3d object created with something like:
14+
15+
import mpl_toolkits.mplot3d.axes3d
16+
ax = plt.sublot(111, projection='3d')

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.