Title: Set the canvas cursor when using a SpanSelector by QuLogic · Pull Request #20743 · matplotlib/matplotlib · GitHub
Open Graph Title: Set the canvas cursor when using a SpanSelector by QuLogic · Pull Request #20743 · matplotlib/matplotlib
X Title: Set the canvas cursor when using a SpanSelector by QuLogic · Pull Request #20743 · matplotlib/matplotlib
Description: PR Summary This sets either a horizontal or vertcal resize cursor when initiating a selection, moving the span, or when hovering over an end handle. This is half of #20724. I said I was going to move things to ToolLineHandles, but there are two reasons why I didn't: It doesn't have grab_range, which is needed for determining when we're hovering. It doesn't have access to the parent widget, so can't know when it's inactive, or a handle is already active. I could propagate the information over, but seemed like more work than just handling the cursor entirely in the SpanSelector widget. I could finish moving it if we think that makes a better design. 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 This sets either a horizontal or vertcal resize cursor when initiating a selection, moving the span, or when hovering over an end handle. This is half of #20724. I said I was going to mo...
X Description: PR Summary This sets either a horizontal or vertcal resize cursor when initiating a selection, moving the span, or when hovering over an end handle. This is half of #20724. I said I was going to mo...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/20743
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:59f54533-4c76-10d0-d10a-51e41416cfbf |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B8AC:215E98:7847A3:AE475A:6A54A786 |
| html-safe-nonce | a7a0c2179d3a68b7b3942fd9790e575a1b19235f04da73a8ea00b1637aaf7937 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEFDOjIxNUU5ODo3ODQ3QTM6QUU0NzVBOjZBNTRBNzg2IiwidmlzaXRvcl9pZCI6IjM5ODk4NTM4NjkwNDgxMTMwMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c4f52d136e04286673c41cc6dddff4e7bc5dd9923dcfc8b2b611895695fe5e76 |
| hovercard-subject-tag | pull_request:697537996 |
| 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/20743/files |
| twitter:image | https://avatars.githubusercontent.com/u/302469?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/302469?s=400&v=4 |
| og:image:alt | PR Summary This sets either a horizontal or vertcal resize cursor when initiating a selection, moving the span, or when hovering over an end handle. This is half of #20724. I said I was going to mo... |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width