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

Deprecate Artist.{set,get}_contains.#16200

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
QuLogic merged 1 commit intomatplotlib:masterfromanntzer:contains
Mar 10, 2020

Conversation

anntzer
Copy link
Contributor

I don't think it makes sense to allow overriding contains() checks
per instance -- and if someone really need that, they can use a custom
artist subclass or even just monkeypatch the contains method; if they
need it for pick events there's still Artist.set_picker which is not
going away.

This came in in8111a3a (2007) and was apparently never used or tested.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 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

@anntzeranntzerforce-pushed thecontains branch 3 times, most recently from0886e70 to5d7361bCompareJanuary 17, 2020 13:21
@QuLogic
Copy link
Member

This appears to need a rebase to get working CI (failures don't appear to be related, I think), but also there are many references to these functions indoc/api that maybe are unnecessary now?

I don't think it makes sense to allow overriding contains() checksper instance -- and if someone really need that, they can use a customartist subclass or even just monkeypatch the contains method; if theyneed it for pick events there's still Artist.set_picker which is notgoing away.This came in in8111a3a (2007) and was apparently never used or tested.
@anntzer
Copy link
ContributorAuthor

rebased. I think the references may as well stay until the whole thing is removed?

@QuLogic
Copy link
Member

Actually, you removed them in#14960 (once it's merged.)

@anntzer
Copy link
ContributorAuthor

then let's keep references removal that to that PR?

@QuLogicQuLogic merged commitfed8651 intomatplotlib:masterMar 10, 2020
@anntzeranntzer deleted the contains branchMarch 10, 2020 07:00
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

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

Successfully merging this pull request may close these issues.

3 participants
@anntzer@QuLogic@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp