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
'pivot' property not recognised in quiver #3907
Comments
It looks like you are using the 3D version of quiver which I think only just got support for the pivot kwarg #3735. That code is on master, but won't be back-ported to the 1.4.x branch. |
Yes, you're right, I was using quiver in 3D. I'll follow the development Best regards, Szymon On 11 December 2014 at 18:53, Thomas A Caswell notifications@github.com
Szymon Krupinski |
The documentation inconsistency you note is that "mid" is an alternative to "middle". |
Not sure what we want to do about this, from looking at the code ex X, Y = np.meshgrid(np.linspace(-np.pi, np.pi, 16), np.linspace(-np.pi, np.pi, 16))
v = np.sin(X)
u = np.cos(Y)
plt.quiver(X, Y, u, v)
plt.quiver(X, Y, u, v, color='b', pivot='ardvaark', alpha=.5) Results in no error and blue arrows overlaid on the black: @efiring I am going to close this issue and make a new one for improving the validation on quiver. |
When I try to set the 'pivot' kw argument to any value, the result is:
I'm using matplotlib 1.4.2-3 under debian
BTW, it seems to me that the documentation on possible 'pivot' values is not consistent.
Hope it helps!
The text was updated successfully, but these errors were encountered: