| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:cee2dceb-b4fd-f177-6f21-5580ab366384 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A450:B267E:132EA18:1A36652:6A521B3C |
| html-safe-nonce | 9465061e841660aba872a578be88bd424cdd6fe1602e0f4d1e45a19d7420ff06 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDUwOkIyNjdFOjEzMkVBMTg6MUEzNjY1Mjo2QTUyMUIzQyIsInZpc2l0b3JfaWQiOiI4NTU0MDgxMjA3NTI0MTM3Nzg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 778482781e6c25b7eb68bf82cac93e93850ba43bc3e1a25378352a75ed3ef603 |
| hovercard-subject-tag | pull_request:1257239102 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/matplotlib/matplotlib/25346/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/03b60e269ca0b3fb0520444004d961bb171577480395578380c30925ec3df0fd/matplotlib/matplotlib/pull/25346 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/03b60e269ca0b3fb0520444004d961bb171577480395578380c30925ec3df0fd/matplotlib/matplotlib/pull/25346 |
| og:image:alt | PR Summary
Fixes #25336.
Constrained layout here relies on Text.get_tightbbox, which calls Text.get_window_extent, which calls Text._get_layout. The example code in the issue now produces:
PR Che... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rcomer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/25346#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F25346 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F25346 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib |
| Reload | https://github.com/matplotlib/matplotlib/pull/25346 |
| Reload | https://github.com/matplotlib/matplotlib/pull/25346 |
| Reload | https://github.com/matplotlib/matplotlib/pull/25346 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25346 |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25346 |
|
Notifications
| https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib |
|
Fork
8.4k
| https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib |
|
Star
23k
| https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib |
|
Code
| https://github.com/matplotlib/matplotlib |
|
Issues
1.1k
| https://github.com/matplotlib/matplotlib/issues |
|
Pull requests
409
| https://github.com/matplotlib/matplotlib/pulls |
|
Actions
| https://github.com/matplotlib/matplotlib/actions |
|
Projects
| https://github.com/matplotlib/matplotlib/projects |
|
Wiki
| https://github.com/matplotlib/matplotlib/wiki |
|
Security and quality
0
| https://github.com/matplotlib/matplotlib/security |
|
Insights
| https://github.com/matplotlib/matplotlib/pulse |
|
Code
| https://github.com/matplotlib/matplotlib |
|
Issues
| https://github.com/matplotlib/matplotlib/issues |
|
Pull requests
| https://github.com/matplotlib/matplotlib/pulls |
|
Actions
| https://github.com/matplotlib/matplotlib/actions |
|
Projects
| https://github.com/matplotlib/matplotlib/projects |
|
Wiki
| https://github.com/matplotlib/matplotlib/wiki |
|
Security and quality
| https://github.com/matplotlib/matplotlib/security |
|
Insights
| https://github.com/matplotlib/matplotlib/pulse |
| jklymak | https://github.com/jklymak |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| rcomer:text-wrap | https://github.com/rcomer/matplotlib/tree/text-wrap |
| Conversation | https://github.com/matplotlib/matplotlib/pull/25346 |
| Commits1 (1) | https://github.com/matplotlib/matplotlib/pull/25346/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/25346/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/25346/files |
| FIX: use wrapped text in Text._get_layout | https://github.com/matplotlib/matplotlib/pull/25346#top |
| jklymak | https://github.com/jklymak |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| rcomer:text-wrap | https://github.com/rcomer/matplotlib/tree/text-wrap |
|
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
| Feb 28, 2023 | https://github.com/matplotlib/matplotlib/pull/25346#issue-1603188002 |
| #25336 | https://github.com/matplotlib/matplotlib/issues/25336 |
| https://user-images.githubusercontent.com/10599679/221883565-ebff7a1e-2da6-4496-9c66-953db980655b.png |
| build | https://matplotlib.org/devel/documenting_mpl.html#building-the-docs |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25346 |
|
| https://github.com/rcomer |
| FIX: use wrapped text in Text._get_layout [skip circle] | https://github.com/matplotlib/matplotlib/pull/25346/commits/790bcc293cf65bc8a4a4dfa955ad25e587a4673e |
| 790bcc2 | https://github.com/matplotlib/matplotlib/pull/25346/commits/790bcc293cf65bc8a4a4dfa955ad25e587a4673e |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
|
topic: text
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20text%22 |
|
topic: geometry manager
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20geometry%20manager%22 |
|
PR: bugfix
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22PR%3A%20bugfix%22 |
| Feb 28, 2023 | https://github.com/matplotlib/matplotlib/pull/25346#event-8627800334 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Feb 28, 2023
| https://github.com/matplotlib/matplotlib/pull/25346#pullrequestreview-1318129683 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/25346/files/790bcc293cf65bc8a4a4dfa955ad25e587a4673e |
| lib/matplotlib/text.py | https://github.com/matplotlib/matplotlib/pull/25346/files/790bcc293cf65bc8a4a4dfa955ad25e587a4673e#diff-2889b798b7f9a072d882bef4f0fc033db63538a9317df59fa963e9a82401bf40 |
| timhoffm | https://github.com/timhoffm |
| Feb 28, 2023 | https://github.com/matplotlib/matplotlib/pull/25346#discussion_r1120456574 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25346 |
| rcomer | https://github.com/rcomer |
| Feb 28, 2023 | https://github.com/matplotlib/matplotlib/pull/25346#discussion_r1120479061 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25346 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25346 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Feb 28, 2023
| https://github.com/matplotlib/matplotlib/pull/25346#pullrequestreview-1318132295 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/25346/files/790bcc293cf65bc8a4a4dfa955ad25e587a4673e |
| https://github.com/jklymak |
| jklymak | https://github.com/jklymak |
|
Feb 28, 2023
| https://github.com/matplotlib/matplotlib/pull/25346#pullrequestreview-1318226299 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/25346/files/790bcc293cf65bc8a4a4dfa955ad25e587a4673e |
| https://github.com/jklymak |
| jklymak | https://github.com/jklymak |
| 6462a01 | https://github.com/matplotlib/matplotlib/commit/6462a01607cbf235435098e0e5779f8146e165e4 |
| Feb 28, 2023 | https://github.com/matplotlib/matplotlib/pull/25346#event-8629909506 |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
| Feb 28, 2023 | https://github.com/matplotlib/matplotlib/pull/25346#issuecomment-1448654243 |
| @timhoffm | https://github.com/timhoffm |
| @jklymak | https://github.com/jklymak |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25346 |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
| February 28, 2023 18:18 | https://github.com/matplotlib/matplotlib/pull/25346#event-8630030424 |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
| v3.7.1 | https://github.com/matplotlib/matplotlib/milestone/80 |
| Feb 28, 2023 | https://github.com/matplotlib/matplotlib/pull/25346#event-8630331398 |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
| Feb 28, 2023 | https://github.com/matplotlib/matplotlib/pull/25346#issuecomment-1448696344 |
| @meeseeksdev | https://github.com/meeseeksdev |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25346 |
| https://github.com/meeseeksmachine |
| meeseeksmachine | https://github.com/meeseeksmachine |
|
Feb 28, 2023
| https://github.com/matplotlib/matplotlib/pull/25346#ref-pullrequest-1603634114 |
|
Backport PR #25346 on branch v3.7.x (FIX: use wrapped text in Text._get_layout)
#25350
| https://github.com/matplotlib/matplotlib/pull/25350 |
| meeseeksmachine | https://github.com/meeseeksmachine |
|
Feb 28, 2023
| https://github.com/matplotlib/matplotlib/pull/25346#ref-commit-376b193 |
|
| https://github.com/jklymak |
|
| https://github.com/meeseeksmachine |
| Backport PR | https://github.com/meeseeksmachine/matplotlib/commit/376b1935ccf9320eb5e38882d26f2d0e418b148d |
| matplotlib#25346 | https://github.com/matplotlib/matplotlib/pull/25346 |
| : FIX: use wrapped text in Text._get_layout | https://github.com/meeseeksmachine/matplotlib/commit/376b1935ccf9320eb5e38882d26f2d0e418b148d |
| 376b193 | https://github.com/meeseeksmachine/matplotlib/commit/376b1935ccf9320eb5e38882d26f2d0e418b148d |
| oscargus | https://github.com/oscargus |
|
Feb 28, 2023
| https://github.com/matplotlib/matplotlib/pull/25346#ref-commit-301d5c0 |
|
| https://github.com/oscargus |
| Merge pull request | https://github.com/matplotlib/matplotlib/commit/301d5c0a933ce7c4e1cebbcd640025cb62b9fd13 |
| #25350 | https://github.com/matplotlib/matplotlib/pull/25350 |
| from meeseeksmachine/auto-backport-of-pr-25… | https://github.com/matplotlib/matplotlib/commit/301d5c0a933ce7c4e1cebbcd640025cb62b9fd13 |
| 301d5c0 | https://github.com/matplotlib/matplotlib/commit/301d5c0a933ce7c4e1cebbcd640025cb62b9fd13 |
| #25346 | https://github.com/matplotlib/matplotlib/pull/25346 |
| https://github.com/anntzer |
| anntzer | https://github.com/anntzer |
|
Jan 23, 2026
| https://github.com/matplotlib/matplotlib/pull/25346#ref-pullrequest-3831412962 |
|
PERF: Skip kwargs normalization in Artist._cm_set
#31000
| https://github.com/matplotlib/matplotlib/pull/31000 |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F25346 |
|
| https://github.com/jklymak |
|
jklymak
| https://github.com/jklymak |
|
| https://github.com/matplotlib/matplotlib/pull/25346/files/790bcc293cf65bc8a4a4dfa955ad25e587a4673e |
|
| https://github.com/timhoffm |
|
timhoffm
| https://github.com/timhoffm |
|
| https://github.com/matplotlib/matplotlib/pull/25346/files/790bcc293cf65bc8a4a4dfa955ad25e587a4673e |
|
PR: bugfix
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22PR%3A%20bugfix%22 |
|
topic: geometry manager
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20geometry%20manager%22 |
|
topic: text
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20text%22 |
|
v3.7.1
| https://github.com/matplotlib/matplotlib/milestone/80 |
|
[Bug]: constrained layout with wrapped titles
| https://github.com/matplotlib/matplotlib/issues/25336 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25346 |
|
| https://github.com/rcomer |
|
| https://github.com/jklymak |
|
| https://github.com/timhoffm |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |