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

#26865 removing deprecations to axislines.py#26900

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:mainfromfarrjere:deprecated
Oct 19, 2023

Conversation

farrjere
Copy link
Contributor

PR summary

This PR removes the depcrecated code during the version 3.7 from patches.py and axislines.py for the issue#26865

PR checklist

Copy link

@github-actionsgithub-actionsbot left a comment

Choose a reason for hiding this comment

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

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a week or so, please leave a new comment below and that should bring it to our attention. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join uson gitter for real-time discussion.

For details on testing, writing docs, and our review process, please seethe developer guide

We strive to be a welcoming and open project. Please follow ourCode of Conduct.

@farrjerefarrjereforce-pushed thedeprecated branch 3 times, most recently fromacb4a7f to5044e8fCompareSeptember 24, 2023 14:05
Copy link
Member

@oscargusoscargus left a comment

Choose a reason for hiding this comment

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

Thanks!

I think this is good, subject to updating the wording of the release note.

@oscargus
Copy link
Member

For a second reviewer: there is a PR open for patches,#26890, but this can go in as is, the other requires some updates.

@ksundenksunden mentioned this pull requestSep 25, 2023
14 tasks
@ksunden
Copy link
Member

We merged another PR that addressed the patches portions of this,@farrjere can you refocus this PR on only the axislines portion?

Comment on lines 457 to 461
class _Base(ConnectionStyle):
@ api.deprecated("3.7")
class SimpleEvent:
def __init__(self, xy: tuple[float, float]) -> None: ...
def __init__(self, xy):
self.x, self.y = xy
Copy link
Member

Choose a reason for hiding this comment

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

We do not wish to add this back, especially as this is apyi stub file (where@api.deprecated has no effect)

Copy link
Member

@ksundenksunden left a comment

Choose a reason for hiding this comment

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

Please revert changes topatches.pyi

@ksunden
Copy link
Member

Needs a rebase because an adjacent bit of code was modified (adding a new deprecation for the 3.9 cycle). That deprecation should be kept, but the removal of thepassthru_pt attr should still happen.

@farrjere
Copy link
ContributorAuthor

Wouldn't handling the merge conflict handle that? I went to do this myself but it resulted in an issue with _version.py having a formatting issue that couldn't commit (coming from the merge).

@ksunden
Copy link
Member

Rebasing is our preferred method of handling merge conflicts.

_version.py should not be committed into the repo (it is a build artifact, and you are seeing it as a result of the change of build system#26621) I would suggest runninggit clean -fdx first (and reinstalling after updating to the meson-based branch).

The patch as submitted has additions topatches.pyi, which should not be included.

farrjere reacted with thumbs up emoji

@QuLogicQuLogic added this to thev3.9.0 milestoneOct 19, 2023
@QuLogicQuLogic merged commitdfdb37a intomatplotlib:mainOct 19, 2023
@QuLogic
Copy link
Member

Thanks@farrjere! Congratulations on your first PR to Matplotlib 🎉 We hope to hear from you again.

@QuLogicQuLogic changed the title#26865 removing deprecations to patches.py and axislines.py#26865 removing deprecations to axislines.pyOct 19, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] left review comments

@ksundenksundenksunden approved these changes

@oscargusoscargusoscargus approved these changes

Assignees
No one assigned
Projects
Milestone
v3.9.0
Development

Successfully merging this pull request may close these issues.

4 participants
@farrjere@oscargus@ksunden@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp