Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

MNT: deprecate patches.YAArrow#11213

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
phobson merged 1 commit intomatplotlib:masterfromjklymak:mnt-deprecate-yaaa
Jun 5, 2018

Conversation

jklymak
Copy link
Member

PR Summary

So far as I can see

classYAArrow(Patch):

is not ever called or documented (except in the API). Maybe there is a huge fan base out there, but...

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@jklymakjklymak added this to thev3.0 milestoneMay 9, 2018
@ImportanceOfBeingErnest
Copy link
Member

Careful, I don't thinkFancyArrow can be a replacement for that. PossiblyFancyArrowPatch can be, but better check first. If not, better not to state anyalternative at all than a wrong one. The point being that FancyArrow seems to live completely in data space (or whatever coordinate system you want) while YAArrow has a transform associated with it.

@jklymak
Copy link
MemberAuthor

Ooops, I meantFancyArrowPatch.

I don't know that its a direct replacement, and I don't think stating an alternative necessarily means it is. It just means thats where the user can go to get the same functionality...

@ImportanceOfBeingErnest
Copy link
Member

Relevant:https://github.com/matplotlib/matplotlib/wiki/MEP-29-(arrows) (Not to have this reference getting lost.)

@afvincent
Copy link
Contributor

Pinging@dstansby who recently did some work about an overhaul about arrow overhaul if I remember correctly
Pinging@efiring who did some work on removing YAArrow usage from the codebase (at least in 2015, see for example#4178 and the followingcomment )

NB: it is more asking for opinions rather than “requesting review” :).

dstansby
dstansby previously requested changesMay 10, 2018
Copy link
Member

@dstansbydstansby left a comment

Choose a reason for hiding this comment

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

I do not think this should be merged until we have come to an overall decision about which arrow functions we want to keep and which want to go.

I haven't worked on the MEP for a while, but I think a good next step would be writing a tutorial that demonstrates plotting arrows (in display space and data space). I will try and do this in the next couple of weeks.

@dstansbydstansby dismissed theirstale reviewMay 10, 2018 14:12

I'm in the process of writing an arrow tutorial, and have come to the conclusion that YAArrow isn't needed

@jklymak
Copy link
MemberAuthor

#11219 addresses this via documentation. I’ll close this though still skeptical this is needed.

@dstansby
Copy link
Member

Sorry if I confused you@jklymak, I think YAArrow should be deprecated.

jklymak reacted with laugh emoji

@jklymakjklymak reopened thisMay 10, 2018
@phobsonphobson merged commitced5719 intomatplotlib:masterJun 5, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@phobsonphobsonphobson approved these changes

@dstansbydstansbydstansby approved these changes

@efiringefiringAwaiting requested review from efiring

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v3.0.0
Development

Successfully merging this pull request may close these issues.

5 participants
@jklymak@ImportanceOfBeingErnest@afvincent@dstansby@phobson

[8]ページ先頭

©2009-2025 Movatter.jp