Title: DOC: remove constrained_layout kwarg from examples by rcomer · Pull Request #25198 · matplotlib/matplotlib · GitHub
Open Graph Title: DOC: remove constrained_layout kwarg from examples by rcomer · Pull Request #25198 · matplotlib/matplotlib
X Title: DOC: remove constrained_layout kwarg from examples by rcomer · Pull Request #25198 · matplotlib/matplotlib
Description: PR Summary The form constrained_layout=True is discouraged in the relevant docstrings since v3.5 (#19892), but is still used across the examples. This PR updates the examples with the preferred form. For the strings, I tried to choose single vs double quotes to be consistent with any strings on nearby lines. Also puts instances of the phrase "constrained layout" in italics, consistent with the decision for the constrained layout tutorial at #25144. The tutorials and user guide also have constrained_layout=True in places, but I think that can be a separate PR. PR Checklist Documentation and Tests Has pytest style unit tests (and pytest passes) Documentation is sphinx and numpydoc compliant (the docs should build without error). New plotting related features are documented with examples. Release Notes New features are marked with a .. versionadded:: directive in the docstring and documented in doc/users/next_whats_new/ API changes are marked with a .. versionchanged:: directive in the docstring and documented in doc/api/next_api_changes/ Release notes conform with instructions in next_whats_new/README.rst or next_api_changes/README.rst
Open Graph Description: PR Summary The form constrained_layout=True is discouraged in the relevant docstrings since v3.5 (#19892), but is still used across the examples. This PR updates the examples with the preferred fo...
X Description: PR Summary The form constrained_layout=True is discouraged in the relevant docstrings since v3.5 (#19892), but is still used across the examples. This PR updates the examples with the preferred fo...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/25198
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8d3ad31d-2415-51ec-311f-bc10c34b370b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D8EE:1AAD29:C1137C:1031A3F:6A5165CC |
| html-safe-nonce | 2bd0a2f0d0b9fabb44b3bbbcfa2da89eca40730b6b37bdb9b0694836efa0fabd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEVFOjFBQUQyOTpDMTEzN0M6MTAzMUEzRjo2QTUxNjVDQyIsInZpc2l0b3JfaWQiOiI3NTkwMDk4MTk2MTkxMzM5OTgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7bab4ca28addf20683504b3d5a07a2382dc5880d7b3000002bcb35cb3d3fe6ca |
| hovercard-subject-tag | pull_request:1237698194 |
| 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/25198/files |
| twitter:image | https://avatars.githubusercontent.com/u/10599679?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10599679?s=400&v=4 |
| og:image:alt | PR Summary The form constrained_layout=True is discouraged in the relevant docstrings since v3.5 (#19892), but is still used across the examples. This PR updates the examples with the preferred fo... |
| 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 | 2eeb434949a926fad21064b4d395a54759f7a0b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width