Title: ```bbox_inches="tight"``` support for *all* figure artists. by pelson · Pull Request #1448 · matplotlib/matplotlib · GitHub
Open Graph Title: ```bbox_inches="tight"``` support for *all* figure artists. by pelson · Pull Request #1448 · matplotlib/matplotlib
X Title: ```bbox_inches="tight"``` support for *all* figure artists. by pelson · Pull Request #1448 · matplotlib/matplotlib
Description: This is a first pass at making bbox_inches="tight" work for anything you can throw at a figure. I think @leejjoon implemented this functionality originally, so it would be great to get some feedback from him as to whether this is a good approach or not. My motivation for this has been seeing all of the PRs/issues that have gone by lately relating to bbox_inches="tight", most of these have come as a result of iPython defaulting to using this setting (@fperez may be interested in this PR therefore), hopefully this should resolve all outstanding issues on that front (a lot of them have actually already been fixed with bespoke solutions, but inevitably there will be other cases which have not been specifically targeted, hence this PR). Personally, I still feel that bbox_inches="tight" is an ingenious hack which I would sooner see done better by a geometry manager (#1109), but in lieu of that functionality, getting this right is a worthy pragmatic short-to-medium term goal. Thanks for your time,
Open Graph Description: This is a first pass at making bbox_inches="tight" work for anything you can throw at a figure. I think @leejjoon implemented this functionality originally, so it would be great to get so...
X Description: This is a first pass at making bbox_inches="tight" work for anything you can throw at a figure. I think @leejjoon implemented this functionality originally, so it would be great t...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/1448
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ff46038e-f621-f28c-d690-db43f525d50d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BF1A:3A96BF:2FBE952:41AFC12:6A54A3DC |
| html-safe-nonce | 282084d5908c85f0e2ad133885836d358b37e43ff09c99cca6dcd48038e3bff1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjFBOjNBOTZCRjoyRkJFOTUyOjQxQUZDMTI6NkE1NEEzREMiLCJ2aXNpdG9yX2lkIjoiMjE0MjM1NDM0MjE0MTAxMDkwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 57898d3a87254b661664a7f67d92ed53f35d3d14f4eac6bca44358d2ebdc12b9 |
| hovercard-subject-tag | pull_request:2872550 |
| 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/1448/files |
| twitter:image | https://avatars.githubusercontent.com/u/810663?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/810663?s=400&v=4 |
| og:image:alt | This is a first pass at making bbox_inches="tight" work for anything you can throw at a figure. I think @leejjoon implemented this functionality originally, so it would be great to get so... |
| 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 | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width