Title: Allow Selectors to be dragged from anywhere within their patch by dstansby · Pull Request #19657 · matplotlib/matplotlib · GitHub
Open Graph Title: Allow Selectors to be dragged from anywhere within their patch by dstansby · Pull Request #19657 · matplotlib/matplotlib
X Title: Allow Selectors to be dragged from anywhere within their patch by dstansby · Pull Request #19657 · matplotlib/matplotlib
Description: PR Summary As it says in the what's new entry: The ~matplotlib.widgets.RectangleSelector and ~matplotlib.widgets.EllipseSelector have a new keyword argument, select_whole_region, which when set to True allows you to click and drag from anywhere inside the selector to move it. Previously it was only possible to move it by either activating the move modifier button, or clicking on the central handle. Questions: Any opinions on turning this on by default? Does anyone have any better ideas for the keyword argument name? select_whole_region is the best I came up with, but it doesn't feel great. Here's an example: Screen.Recording.2021-03-06.at.16.53.58.mov PR Checklist Has pytest style unit tests (and pytest passes). Is Flake 8 compliant (run flake8 on changed files to check). New features are documented, with examples if plot related. Documentation is sphinx and numpydoc compliant (the docs should build without error). Conforms to Matplotlib style conventions (install flake8-docstrings and run flake8 --docstring-convention=all). New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there). API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).
Open Graph Description: PR Summary As it says in the what's new entry: The ~matplotlib.widgets.RectangleSelector and ~matplotlib.widgets.EllipseSelector have a new keyword argument, select_whole_region, which when set...
X Description: PR Summary As it says in the what's new entry: The ~matplotlib.widgets.RectangleSelector and ~matplotlib.widgets.EllipseSelector have a new keyword argument, select_whole_region, which when...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/19657
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b7765b74-8265-c928-ab2d-1232b829d8c7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B558:316BD0:2EA7CB:41FF0A:6A546F2A |
| html-safe-nonce | d3f1728696ce4e743dd85862b0059aef4bd62123c1016ec722506167862b361b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTU4OjMxNkJEMDoyRUE3Q0I6NDFGRjBBOjZBNTQ2RjJBIiwidmlzaXRvcl9pZCI6IjgyMjMwMzY4MzIxMzQ0OTE5NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d80cb540f01649873ac2ada7b999f9429b5aeab8d282412df7529e82c727206f |
| hovercard-subject-tag | pull_request:586098513 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/19657/files |
| twitter:image | https://avatars.githubusercontent.com/u/6197628?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/6197628?s=400&v=4 |
| og:image:alt | PR Summary As it says in the what's new entry: The ~matplotlib.widgets.RectangleSelector and ~matplotlib.widgets.EllipseSelector have a new keyword argument, select_whole_region, which when set... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width