-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Quiverkey() positions arrow incorrectly with labelpos 'N' or 'S' #5613
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
Comments
I see what happened (in #3955), and it's easy to fix. I can do it today or tomorrow. Thanks for the report, @EdwinChan. Your script will inspire a test. |
I do not see how I broke this 😞 |
@tacaswell, You normalized to "middle", but quiverkey is still using "mid" and is not going through the normalization (and indeed, it shouldn't need to). So I will either change the normalization to "mid", or change quiverkey to request "middle". |
Ah, I see. I can clean up my mess if you would like. |
OK, thanks. |
In PR matplotlib#3955 / af17051 the quiver pivot location was normalized to be 'tip', 'tail', or 'middle' internally. The key 'mid' is now normalized to 'middle'. The quiver key code circumvents the normalization and was setting `Quiver.pivot' to 'mid', which fell back to the default behavior of pivoting on the tail when the quiver key is drawn. closes matplotlib#5613
The documentation for
quiverkey()
in versions 1.3 through 1.5 states thatThis guarantee is clearly violated in version 1.5:
The script that generated these figures is
The text was updated successfully, but these errors were encountered: