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

Fix lasso unresponsive issue by adding a lock release event #25155

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
QuLogic merged 4 commits into matplotlib:main from devRD:lasso_demo
Feb 22, 2023

Conversation

Copy link
Contributor

@devRD devRD commented Feb 5, 2023

PR Summary

Fixes #25137 by adding a lock release event.

PR Checklist

Documentation and Tests

  • Has pytest style unit tests (and pytest passes)
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • New plotting related features are documented with examples.

Release Notes

  • New features are marked with a .. versionadded:: directive in the docstring and documented in doc/users/next_whats_new/
  • API changes are marked with a .. versionchanged:: directive in the docstring and documented in doc/api/next_api_changes/
  • Release notes conform with instructions in next_whats_new/README.rst or next_api_changes/README.rst

Copy link

@github-actions github-actions bot 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 while, please feel free to ping @matplotlib/developers or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join us on gitter for real-time discussion.

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

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

Copy link
Member

jklymak commented Feb 14, 2023

@ianhi maybe you are the wrong person to ask for a review here, but feel free to suggest someone else...

Copy link
Contributor

@ianhi ianhi left a comment

Choose a reason for hiding this comment

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

I'd approve this (conditional on my comment about checking for ownership of the lock) as this does indeed fix the reported bug. Nice fix @devRD!

That said I think that using Lasso is something that should be discouraged in favor of lasso selector - perhaps even deprecated and removed. See my comments in #19221 for more. Still this is clear improvement and the perfect should not be the enemy of the good.

@ianhi maybe you are the wrong person to ask for a review here,

I'm probably the right person :)

Co-authored-by: Ian Hunt-Isaak <ianhuntisaak@gmail.com>
Copy link
Contributor Author

devRD commented Feb 16, 2023

@ianhi Thank you for the review! I added your suggested changes.

Copy link
Contributor

ianhi commented Feb 16, 2023

Awesome @devRD - i think that the process is now that at least one core dev (i.e. not me) needs to approve this (only one as this is documentation).

For whoever that is I think the things to check are:

  1. Run the example - click once, then see that you can still lasso as expected
  2. Run the example make lassos as expected

full file for copy paste purposes: https://github.com/matplotlib/matplotlib/blob/418c9e7037896bea4a4db5cce656f2933014f0e0/examples/event_handling/lasso_demo.py

Copy link
Member

jklymak commented Feb 16, 2023

@ianhi you have merge rights, if I'm not mistaken.

Copy link
Contributor

ianhi commented Feb 16, 2023

@ianhi you have merge rights, if I'm not mistaken.

I actually don't - I think I only have the power to open/close issues+PRs and apply labels. I have merging rights over on ipympl

Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Copy link
Member

QuLogic commented Feb 22, 2023

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

ksunden added a commit that referenced this pull request Feb 23, 2023
...155-on-v3.7.x
Backport PR #25155 on branch v3.7.x (Fix lasso unresponsive issue by adding a lock release event)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

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

@QuLogic QuLogic QuLogic approved these changes

+1 more reviewer

@ianhi ianhi ianhi approved these changes

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Projects
Milestone
v3.7.1
Development

Successfully merging this pull request may close these issues.

[Bug]: stop responding in demo program "matplotlib/examples/event_handling/lasso_demo.py"

AltStyle によって変換されたページ (->オリジナル) /