X Tutup
Skip to content

Add angle kwarg to quiverkey#7719

Merged
jkseppan merged 3 commits intomatplotlib:masterfrom
dstansby:quiverkey-angle
Jan 2, 2017
Merged

Add angle kwarg to quiverkey#7719
jkseppan merged 3 commits intomatplotlib:masterfrom
dstansby:quiverkey-angle

Conversation

@dstansby
Copy link
Copy Markdown
Member

@dstansby dstansby commented Jan 1, 2017

This adds the ability to specify the arrow angle when adding a key to a quiverplot, and fixes #6972 in the process.

Because quiverkey() uses the arrow rendering method from quiver(), I had to hand over angles to _make_verts() the same way U and V are already handed, to avoid _make_verts use all the arrows already associated with the original quiver plot.

Copy link
Copy Markdown
Member

@efiring efiring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@efiring efiring changed the title Add angle kwarg to quiverkey [MRG+1] Add angle kwarg to quiverkey Jan 1, 2017
@efiring
Copy link
Copy Markdown
Member

efiring commented Jan 1, 2017

Test failures are unrelated.

@jkseppan
Copy link
Copy Markdown
Member

jkseppan commented Jan 2, 2017

Looks good to me too.

@jkseppan jkseppan merged commit c511628 into matplotlib:master Jan 2, 2017
@QuLogic QuLogic added this to the 2.1 (next point release) milestone Jan 3, 2017
@QuLogic QuLogic changed the title [MRG+1] Add angle kwarg to quiverkey Add angle kwarg to quiverkey Jan 3, 2017
@dstansby dstansby deleted the quiverkey-angle branch January 11, 2017 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

quiverkey problem when angles=array

4 participants

X Tutup