Title: Fix get_tightbbox to include axis labels in 3D axes by Sathush504 · Pull Request #31573 · matplotlib/matplotlib · GitHub
Open Graph Title: Fix get_tightbbox to include axis labels in 3D axes by Sathush504 · Pull Request #31573 · matplotlib/matplotlib
X Title: Fix get_tightbbox to include axis labels in 3D axes by Sathush504 · Pull Request #31573 · matplotlib/matplotlib
Description: savefig(bbox_inches='tight') was clipping zlabel and xlabel on 3D axes because Axes3D.get_tightbbox() did not include axis label bounding boxes in its calculation. On 2D axes the superclass handles this correctly. Fixes #31568 Related to #28117 PR summary AI Disclosure PR checklist "closes #0000" is in the body of the PR description to link the related issue new and changed code is tested Plotting related features are demonstrated in an example New Features and API Changes are noted with a directive and release note Documentation complies with general and docstring guidelines
Open Graph Description: savefig(bbox_inches='tight') was clipping zlabel and xlabel on 3D axes because Axes3D.get_tightbbox() did not include axis label bounding boxes in its calculation. On 2D axes the superclass...
X Description: savefig(bbox_inches='tight') was clipping zlabel and xlabel on 3D axes because Axes3D.get_tightbbox() did not include axis label bounding boxes in its calculation. On 2D axes the su...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/31573
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:24931181-ec81-6b04-30ab-8f596dd48d07 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B0D6:1F28A:1010C3:167F5E:6A5465D4 |
| html-safe-nonce | 6198daeb00835ecffca3e5f6dc401b326b68314f2926a2bb72b685fc18244932 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEQ2OjFGMjhBOjEwMTBDMzoxNjdGNUU6NkE1NDY1RDQiLCJ2aXNpdG9yX2lkIjoiMjIyMjYyMDQ4MTk3MDAwNTQ2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3276619bb6495589ff74996a71d5dc4501b561bca0cbc65f2efb49a7bc10f3d7 |
| hovercard-subject-tag | pull_request:3586273486 |
| 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/31573/files |
| twitter:image | https://avatars.githubusercontent.com/u/134429980?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/134429980?s=400&v=4 |
| og:image:alt | savefig(bbox_inches='tight') was clipping zlabel and xlabel on 3D axes because Axes3D.get_tightbbox() did not include axis label bounding boxes in its calculation. On 2D axes the superclass... |
| 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 | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width