Title: Reuse inset_axes locator machinery for secondary_axes. by anntzer · Pull Request #17249 · matplotlib/matplotlib · GitHub
Open Graph Title: Reuse inset_axes locator machinery for secondary_axes. by anntzer · Pull Request #17249 · matplotlib/matplotlib
X Title: Reuse inset_axes locator machinery for secondary_axes. by anntzer · Pull Request #17249 · matplotlib/matplotlib
Description: _make_secondary_locator is just a special-case of _make_inset_locator, so just use the latter. Also change _make_inset_locator to use transform subtraction instead of .inverted(), as it is typically more precise (as discussed in #17206). PR Summary PR Checklist Has Pytest style unit tests Code is Flake 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
Open Graph Description: _make_secondary_locator is just a special-case of _make_inset_locator, so just use the latter. Also change _make_inset_locator to use transform subtraction instead of .inverted(), as it is typicall...
X Description: _make_secondary_locator is just a special-case of _make_inset_locator, so just use the latter. Also change _make_inset_locator to use transform subtraction instead of .inverted(), as it is typicall...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/17249
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:25eb1a7d-1a84-73ca-ccda-62ff986680f4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CC0E:A3590:95B27:CC653:6A5585AE |
| html-safe-nonce | 854444ef3a6c0d4a5cfefb808eff4d92efb42183806c2727fd056047a340f291 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzBFOkEzNTkwOjk1QjI3OkNDNjUzOjZBNTU4NUFFIiwidmlzaXRvcl9pZCI6Ijc2NjI3MDQ0MDM1ODIxMjU0ODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 37b16d165317f0228a013e2949ea500e7c1881e1b8324e0aea7dccb6bb07e3f0 |
| hovercard-subject-tag | pull_request:409628802 |
| 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/17249/files |
| twitter:image | https://avatars.githubusercontent.com/u/1322974?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1322974?s=400&v=4 |
| og:image:alt | _make_secondary_locator is just a special-case of _make_inset_locator, so just use the latter. Also change _make_inset_locator to use transform subtraction instead of .inverted(), as it is typicall... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 3215163789b3dc58dba97bd78a30c20c949f477f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width