Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Widgets: Remove deprecations and make arguments keyword only #26853

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

Merged
merged 1 commit into from
Sep 24, 2023

Conversation

oscargus
Copy link
Member

@oscargus oscargus commented Sep 21, 2023

PR summary

PR checklist

@oscargus oscargus changed the title Remove deprecations and make arguments keyword only Widgets: Remove deprecations and make arguments keyword only Sep 21, 2023
@oscargus oscargus force-pushed the widgetdeprecationremovals branch 4 times, most recently from 08d9e2c to 989dda7 Compare September 21, 2023 08:44
@oscargus oscargus added this to the v3.9.0 milestone Sep 21, 2023
@oscargus oscargus force-pushed the widgetdeprecationremovals branch 4 times, most recently from 2e37748 to e19633f Compare September 21, 2023 19:14
@QuLogic
Copy link
Member

QuLogic commented Sep 21, 2023

@oscargus do you mind holding off on any other deprecation removals? We would like to leave that as a good first issue for the sprint tomorrow.

@oscargus
Copy link
Member Author

Sure, no problems! Didn't know that.

@QuLogic QuLogic mentioned this pull request Sep 22, 2023
14 tasks
@QuLogic
Copy link
Member

QuLogic commented Sep 22, 2023

No worries, we only decided yesterday. Also, this PR was very useful as an example of what to do.

@oscargus oscargus force-pushed the widgetdeprecationremovals branch from e19633f to 705568a Compare September 22, 2023 07:06
Comment on lines +1665 to +1666
if (i in inds["ind"]
or t.get_window_extent().contains(event.x, event.y)):
Copy link
Member

Choose a reason for hiding this comment

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

Fits in a line now:

Suggested change
if (i in inds["ind"]
or t.get_window_extent().contains(event.x, event.y)):
if i in inds["ind"] or t.get_window_extent().contains(event.x, event.y):

Copy link
Contributor

Choose a reason for hiding this comment

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

I have a further PR that rewrites this loop, so let's just get this in for now.

@anntzer anntzer merged commit 37f26da into matplotlib:main Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants