You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New defaults for 3D quiver function in mpl_toolkits.mplot3d.axes3d.py
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 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`` instead 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 ::
0 commit comments