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

Select RadioButtons by closest in position.#13268

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
timhoffm merged 3 commits intomatplotlib:masterfrommromanie:master
Jan 25, 2019

Conversation

mromanie
Copy link
Contributor

Modify the selection criterion for RadioButtons so that the closest to the mouse click is activated.

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

Modify the selection criterion for RadioButtons so that the closest to the mouse click is activated.
@mromanie
Copy link
ContributorAuthor

Solves#13145

@anntzer
Copy link
Contributor

This causes a ValueError (min() arg is an empty sequence) to be thrown if clicking in the rectangle, but not on a radio button.

@mromanie
Copy link
ContributorAuthor

You're right! I've uploaded a change that should fix it.

@timhoffmtimhoffm merged commit5d475d1 intomatplotlib:masterJan 25, 2019
@timhoffm
Copy link
Member

Thanks, and congratulations to your first contribution to matplotlib! Would be nice to see you back some time.

@QuLogicQuLogic added this to thev3.1 milestoneJan 25, 2019
@mromanie
Copy link
ContributorAuthor

:-)

If I understand correctly, the change will be included in version 3.1. Do you know when it's going to be released?

@timhoffm
Copy link
Member

In about a month or so.

@QuLogicQuLogic mentioned this pull requestMar 19, 2024
6 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@anntzeranntzeranntzer approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.1.0
Development

Successfully merging this pull request may close these issues.

5 participants
@mromanie@anntzer@timhoffm@QuLogic@dstansby

[8]ページ先頭

©2009-2025 Movatter.jp