Title: Use kwonlyargs instead of popping from kwargs by Zac-HD · Pull Request #11145 · matplotlib/matplotlib · GitHub
Open Graph Title: Use kwonlyargs instead of popping from kwargs by Zac-HD · Pull Request #11145 · matplotlib/matplotlib
X Title: Use kwonlyargs instead of popping from kwargs by Zac-HD · Pull Request #11145 · matplotlib/matplotlib
Description: This pull contains part of my follow-up to #11137, likewise addressing #9912. For this one, I've only included the cases where a straight translation from kwargs.pop to keyword-only arguments gives exactly the same behaviour (modulo two cases where unknown kwargs now raise TypeError!). There are many more that require some additional refactoring, but in the hope of a quick review cycle I'm leaving them all for later. Code is PEP 8 compliant Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way
Open Graph Description: This pull contains part of my follow-up to #11137, likewise addressing #9912. For this one, I've only included the cases where a straight translation from kwargs.pop to keyword-only arguments g...
X Description: This pull contains part of my follow-up to #11137, likewise addressing #9912. For this one, I've only included the cases where a straight translation from kwargs.pop to keyword-only argumen...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/11145
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e5572cbc-d712-78c4-153a-f3cf8ba9392b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A8B4:399A66:7D73B5:AB862B:6A538B8F |
| html-safe-nonce | 79158bbcb67b47bac6d0697cc63b4a10ce9d4222d1814f9f88f1b89e9f8a795c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEI0OjM5OUE2Njo3RDczQjU6QUI4NjJCOjZBNTM4QjhGIiwidmlzaXRvcl9pZCI6IjQyNjk2MzY1ODU2OTQzOTkzNzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 63c6ee61e8ae98ab4b874e46ec36ec3a844241de360bbde7c856e283f8f4f3bb |
| hovercard-subject-tag | pull_request:184864640 |
| 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/11145/files |
| twitter:image | https://avatars.githubusercontent.com/u/12229877?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/12229877?s=400&v=4 |
| og:image:alt | This pull contains part of my follow-up to #11137, likewise addressing #9912. For this one, I've only included the cases where a straight translation from kwargs.pop to keyword-only arguments g... |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width