| 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:fd357088-08ce-ae69-161c-38d3115ca562 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C8FA:9EFA3:2838B1:3617A0:6A518A4A |
| html-safe-nonce | f744d923df9f045165dbaaf40943be9174710d952f1a7da4f7ecaa8d97c8250f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEZBOjlFRkEzOjI4MzhCMTozNjE3QTA6NkE1MThBNEEiLCJ2aXNpdG9yX2lkIjoiODQ0OTYyMTI2MzUxMzY1MTc4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 33d122ac874a42f754ad0b3faf7572c2a2eac7283e32476e9a088479776a2f00 |
| hovercard-subject-tag | pull_request:3276566842 |
| 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/31141/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/76efeedcc15762a16293c80aa1a5e66a6be9f3539645fb5e6b3d2f78ff35894b/matplotlib/matplotlib/pull/31141 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/76efeedcc15762a16293c80aa1a5e66a6be9f3539645fb5e6b3d2f78ff35894b/matplotlib/matplotlib/pull/31141 |
| og:image:alt | Description
This PR fixes a mutable default argument issue in lib/matplotlib/backends/backend_svg.py.
In the XMLWriter class, the start and element methods were using a mutable dictionary (attrib={... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | llukito |
| 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 | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/31141/#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F31141%2F |
| 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%2F31141%2F |
|
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/31141/ |
| Reload | https://github.com/matplotlib/matplotlib/pull/31141/ |
| Reload | https://github.com/matplotlib/matplotlib/pull/31141/ |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31141/ |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31141/ |
|
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 |
| anntzer | https://github.com/anntzer |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| llukito:fix-svg-mutable-defaults | https://github.com/llukito/matplotlib/tree/fix-svg-mutable-defaults |
| Conversation | https://github.com/matplotlib/matplotlib/pull/31141 |
| Commits1 (1) | https://github.com/matplotlib/matplotlib/pull/31141/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/31141/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/31141/files |
| Fix mutable default arguments in backend_svg.py | https://github.com/matplotlib/matplotlib/pull/31141/#top |
| anntzer | https://github.com/anntzer |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| llukito:fix-svg-mutable-defaults | https://github.com/llukito/matplotlib/tree/fix-svg-mutable-defaults |
|
| https://github.com/llukito |
| llukito | https://github.com/llukito |
| Feb 12, 2026 | https://github.com/matplotlib/matplotlib/pull/31141/#issue-3932226082 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31141/ |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Feb 12, 2026 | https://github.com/matplotlib/matplotlib/pull/31141/#issuecomment-3891343600 |
| on gitter | https://gitter.im/matplotlib/matplotlib |
| the developer guide | https://matplotlib.org/devdocs/devel/index.html |
| Code of Conduct | https://github.com/matplotlib/matplotlib/blob/main/CODE_OF_CONDUCT.md |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31141/ |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
backend: svg
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22backend%3A%20svg%22 |
|
first-contribution
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3Afirst-contribution |
| Feb 12, 2026 | https://github.com/matplotlib/matplotlib/pull/31141/#event-22737506249 |
| https://github.com/llukito |
| llukito | https://github.com/llukito |
| Feb 12, 2026 | https://github.com/matplotlib/matplotlib/pull/31141/#issuecomment-3891647660 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31141/ |
| https://github.com/anntzer |
| anntzer | https://github.com/anntzer |
|
Feb 12, 2026
| https://github.com/matplotlib/matplotlib/pull/31141/#ref-pullrequest-3934121345 |
|
Deprecate public access to XMLWriter; simplify some attribute settings
#31143
| https://github.com/matplotlib/matplotlib/pull/31143 |
| https://github.com/tacaswell |
| tacaswell | https://github.com/tacaswell |
|
Feb 13, 2026
| https://github.com/matplotlib/matplotlib/pull/31141/#pullrequestreview-3795112634 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31141/files/fded0d55b5fb3c07adbb8d363951c083fb3e6db2 |
| https://github.com/llukito |
| llukito | https://github.com/llukito |
| Feb 13, 2026 | https://github.com/matplotlib/matplotlib/pull/31141/#issuecomment-3895208709 |
| @tacaswell | https://github.com/tacaswell |
| @anntzer | https://github.com/anntzer |
| #31143 | https://github.com/matplotlib/matplotlib/pull/31143 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31141/ |
| https://github.com/anntzer |
| anntzer | https://github.com/anntzer |
|
Feb 13, 2026
| https://github.com/matplotlib/matplotlib/pull/31141/#pullrequestreview-3795535386 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31141/files/fded0d55b5fb3c07adbb8d363951c083fb3e6db2 |
| anntzer | https://github.com/anntzer |
| https://github.com/matplotlib/matplotlib/pull/31141/#pullrequestreview-3795535386 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31141/ |
|
| https://github.com/llukito |
| Fix mutable default arguments in XMLWriter | https://github.com/matplotlib/matplotlib/pull/31141/commits/fded0d55b5fb3c07adbb8d363951c083fb3e6db2 |
| fded0d5 | https://github.com/matplotlib/matplotlib/pull/31141/commits/fded0d55b5fb3c07adbb8d363951c083fb3e6db2 |
| https://github.com/llukito |
| llukito | https://github.com/llukito |
| force-pushed | https://github.com/matplotlib/matplotlib/compare/fefab51ac431178338d957eca81fcf5d629da193..fded0d55b5fb3c07adbb8d363951c083fb3e6db2 |
| fefab51 | https://github.com/matplotlib/matplotlib/commit/fefab51ac431178338d957eca81fcf5d629da193 |
| fded0d5 | https://github.com/matplotlib/matplotlib/commit/fded0d55b5fb3c07adbb8d363951c083fb3e6db2 |
|
Compare
| https://github.com/matplotlib/matplotlib/compare/fefab51ac431178338d957eca81fcf5d629da193..fded0d55b5fb3c07adbb8d363951c083fb3e6db2 |
| February 13, 2026 07:53 | https://github.com/matplotlib/matplotlib/pull/31141/#event-22758668390 |
| https://github.com/llukito |
| llukito | https://github.com/llukito |
| Feb 13, 2026 | https://github.com/matplotlib/matplotlib/pull/31141/#issuecomment-3895456462 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31141/ |
| https://github.com/anntzer |
| anntzer | https://github.com/anntzer |
| Feb 13, 2026 | https://github.com/matplotlib/matplotlib/pull/31141/#issuecomment-3896386677 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31141/ |
| https://github.com/anntzer |
| anntzer | https://github.com/anntzer |
| c4b9963 | https://github.com/matplotlib/matplotlib/commit/c4b9963f38a8127256c9cbb6fe5f0b5c17356560 |
| Feb 13, 2026 | https://github.com/matplotlib/matplotlib/pull/31141#event-22762550311 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31141/ |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
| v3.11.0 | https://github.com/matplotlib/matplotlib/milestone/96 |
| Feb 13, 2026 | https://github.com/matplotlib/matplotlib/pull/31141/#event-22771322932 |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/31141/{{ 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%2F31141%2F |
|
| https://github.com/tacaswell |
|
tacaswell
| https://github.com/tacaswell |
|
| https://github.com/matplotlib/matplotlib/pull/31141/files/fded0d55b5fb3c07adbb8d363951c083fb3e6db2 |
|
| https://github.com/anntzer |
|
anntzer
| https://github.com/anntzer |
|
| https://github.com/matplotlib/matplotlib/pull/31141/files/fded0d55b5fb3c07adbb8d363951c083fb3e6db2 |
|
backend: svg
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22backend%3A%20svg%22 |
|
first-contribution
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3Afirst-contribution |
|
v3.11.0
| https://github.com/matplotlib/matplotlib/milestone/96 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31141/ |
|
| https://github.com/llukito |
|
| https://github.com/anntzer |
|
| https://github.com/tacaswell |
|
| https://github.com/QuLogic |
|
| 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 |