Title: MNT: Don't require renderer for window_extent and tightbbox by jklymak · Pull Request #22745 · matplotlib/matplotlib · GitHub
Open Graph Title: MNT: Don't require renderer for window_extent and tightbbox by jklymak · Pull Request #22745 · matplotlib/matplotlib
X Title: MNT: Don't require renderer for window_extent and tightbbox by jklymak · Pull Request #22745 · matplotlib/matplotlib
Description: PR Summary This PR is a proof of concept of making renderers globally optional. We don't need to use this in tight_layout because it has a funky _draw_disabled context. However, constrained_layout can have all the renderer tracking pulled out and still works in the tests and interactively so far as I can tell. See #22744 for more discussion, but I think deciding on the renderer at the Figure level is the right thing to do, and stop trying to sort it out at a higher level. See also: #21319 #21758 PR Checklist Tests and Styling Has pytest style unit tests (and pytest passes). Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all). Documentation New features are documented, with examples if plot related. 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). Documentation is sphinx and numpydoc compliant (the docs should build without error).
Open Graph Description: PR Summary This PR is a proof of concept of making renderers globally optional. We don't need to use this in tight_layout because it has a funky _draw_disabled context. However, constrained_l...
X Description: PR Summary This PR is a proof of concept of making renderers globally optional. We don't need to use this in tight_layout because it has a funky _draw_disabled context. However, constrain...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/22745
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f779e01c-c36f-de82-1116-c88895b11574 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 94FC:23E45A:18BA458:209DD25:6A51CDAE |
| html-safe-nonce | 0e4084e658013ca644c1f709147dd8c0ff53b454c4205442cbca825fca0b9114 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEZDOjIzRTQ1QToxOEJBNDU4OjIwOUREMjU6NkE1MUNEQUUiLCJ2aXNpdG9yX2lkIjoiMTI5MDA3OTE3MjczODI4NzgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 89331099fb5a33f0f701b1a007ab39ecab9b26f02707641deecfc9c089964f58 |
| hovercard-subject-tag | pull_request:895532699 |
| 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/22745/files |
| twitter:image | https://avatars.githubusercontent.com/u/1562854?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1562854?s=400&v=4 |
| og:image:alt | PR Summary This PR is a proof of concept of making renderers globally optional. We don't need to use this in tight_layout because it has a funky _draw_disabled context. However, constrained_l... |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width