| 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:fd36fc93-13e7-4e39-d177-43422ebfd6fe |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AB68:3089B4:B4A869:F4B182:6A516398 |
| html-safe-nonce | 3935e18b1e51e4c3fbd5766d84aed80647f8c1d681fc788c26b8fc3278c8fb50 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjY4OjMwODlCNDpCNEE4Njk6RjRCMTgyOjZBNTE2Mzk4IiwidmlzaXRvcl9pZCI6IjM1ODQ2MDc3NjYwNDY2NjM1NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8c46f07342ac2c85d9e019ddebe0a4db0697527df3696a17a404f50c743933d4 |
| hovercard-subject-tag | pull_request:3400493982 |
| 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/31307/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/722f6aa163c6f6b9e103cf5a016a9523eb295973eb9edd52a9940133d246e0fb/matplotlib/matplotlib/pull/31307 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/722f6aa163c6f6b9e103cf5a016a9523eb295973eb9edd52a9940133d246e0fb/matplotlib/matplotlib/pull/31307 |
| og:image:alt | PR summary
closes #31302
This fixes a draw-time failure for zero-width dashed strokes.
Minimum reproduction:
import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
plt.s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | francisayyad03 |
| 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 | 2eeb434949a926fad21064b4d395a54759f7a0b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/31307/#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F31307%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%2F31307%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/31307/ |
| Reload | https://github.com/matplotlib/matplotlib/pull/31307/ |
| Reload | https://github.com/matplotlib/matplotlib/pull/31307/ |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
|
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 |
| ksunden | https://github.com/ksunden |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| francisayyad03:main | https://github.com/francisayyad03/matplotlib/tree/main |
| Conversation | https://github.com/matplotlib/matplotlib/pull/31307 |
| Commits4 (4) | https://github.com/matplotlib/matplotlib/pull/31307/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/31307/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/31307/files |
| FIX: avoid applying dashed patterns to zero-width lines and patches | https://github.com/matplotlib/matplotlib/pull/31307/#top |
| ksunden | https://github.com/ksunden |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| francisayyad03:main | https://github.com/francisayyad03/matplotlib/tree/main |
|
| https://github.com/francisayyad03 |
| francisayyad03 | https://github.com/francisayyad03 |
| Mar 15, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#issue-4077561912 |
| #31302 | https://github.com/matplotlib/matplotlib/issues/31302 |
| link the related issue | https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue |
| tested | https://matplotlib.org/devdocs/devel/testing.html |
| example | https://matplotlib.org/devdocs/devel/document.html#write-examples-and-tutorials |
| directive and release note | https://matplotlib.org/devdocs/devel/api_changes.html#announce-changes-deprecations-and-new-features |
| general | https://matplotlib.org/devdocs/devel/document.html#write-rest-pages |
| docstring | https://matplotlib.org/devdocs/devel/document.html#write-docstrings |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
|
| https://github.com/francisayyad03 |
| FIX: avoid applying dashed patterns to zero-width lines and patches | https://github.com/matplotlib/matplotlib/pull/31307/commits/3f42ea84018ba9e0b95e6529a61a1050a5bfacd9 |
| 3f42ea8 | https://github.com/matplotlib/matplotlib/pull/31307/commits/3f42ea84018ba9e0b95e6529a61a1050a5bfacd9 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Mar 15, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#issuecomment-4062181320 |
| 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/31307/ |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
first-contribution
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3Afirst-contribution |
| Mar 15, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#event-23580697293 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| First Time Contributors | https://github.com/orgs/matplotlib/projects/1 |
| Mar 15, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#event-23580698414 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Mar 16, 2026
| https://github.com/matplotlib/matplotlib/pull/31307/#pullrequestreview-3952121897 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31307/files/3f42ea84018ba9e0b95e6529a61a1050a5bfacd9 |
| timhoffm | https://github.com/timhoffm |
| https://github.com/matplotlib/matplotlib/pull/31307/#pullrequestreview-3952121897 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://matplotlib.org/stable/api/testing_api.html#matplotlib.testing.decorators.check_figures_equal | https://matplotlib.org/stable/api/testing_api.html#matplotlib.testing.decorators.check_figures_equal |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
| https://github.com/melissawm |
| melissawm | https://github.com/melissawm |
| First Time Contributors | https://github.com/orgs/matplotlib/projects/1 |
| Mar 16, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#event-23607451782 |
| https://github.com/melissawm |
| melissawm | https://github.com/melissawm |
|
topic: plotting methods
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20plotting%20methods%22 |
| Mar 16, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#event-23607555917 |
|
| https://github.com/francisayyad03 |
| use figure-equality tests for zero-width dashed rendering | https://github.com/matplotlib/matplotlib/pull/31307/commits/0fe9994aa85a998a95fed5a0b8a6c71a03a9721e |
| 0fe9994 | https://github.com/matplotlib/matplotlib/pull/31307/commits/0fe9994aa85a998a95fed5a0b8a6c71a03a9721e |
| https://github.com/francisayyad03 |
| francisayyad03 | https://github.com/francisayyad03 |
| Mar 16, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#issuecomment-4069305784 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
| Mar 16, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#issuecomment-4070167441 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
| Mar 16, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#issuecomment-4070433162 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
|
| https://github.com/francisayyad03 |
| strengthen zero-width dash regression tests | https://github.com/matplotlib/matplotlib/pull/31307/commits/7b3f389c0a0bec2161a5c41e3a35aa3d945c2186 |
| 7b3f389 | https://github.com/matplotlib/matplotlib/pull/31307/commits/7b3f389c0a0bec2161a5c41e3a35aa3d945c2186 |
| https://github.com/francisayyad03 |
| francisayyad03 | https://github.com/francisayyad03 |
| Mar 16, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#issuecomment-4070545697 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
|
Mar 17, 2026
| https://github.com/matplotlib/matplotlib/pull/31307/#pullrequestreview-3957902193 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31307/files/7b3f389c0a0bec2161a5c41e3a35aa3d945c2186 |
| lib/matplotlib/tests/test_lines.py | https://github.com/matplotlib/matplotlib/pull/31307/files/7b3f389c0a0bec2161a5c41e3a35aa3d945c2186#diff-34f31dc85b53912d1a4f3bf5e3eec1e545435323e40b6150268c47b28b390f0f |
| QuLogic | https://github.com/QuLogic |
| Mar 17, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#discussion_r2944081914 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
|
| https://github.com/francisayyad03 |
| simplify zero-width dash regression tests | https://github.com/matplotlib/matplotlib/pull/31307/commits/aafeacd4e81c5853f75101884c68a103e478023e |
| aafeacd | https://github.com/matplotlib/matplotlib/pull/31307/commits/aafeacd4e81c5853f75101884c68a103e478023e |
| https://github.com/francisayyad03 |
| francisayyad03 | https://github.com/francisayyad03 |
| Mar 17, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#issuecomment-4076375238 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
| https://github.com/melissawm |
| melissawm | https://github.com/melissawm |
| First Time Contributors | https://github.com/orgs/matplotlib/projects/1 |
| Mar 17, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#event-23657067051 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
|
Mar 18, 2026
| https://github.com/matplotlib/matplotlib/pull/31307/#pullrequestreview-3970283277 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31307/files/aafeacd4e81c5853f75101884c68a103e478023e |
| QuLogic | https://github.com/QuLogic |
| https://github.com/matplotlib/matplotlib/pull/31307/#pullrequestreview-3970283277 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @timhoffm | https://github.com/timhoffm |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
| https://github.com/ksunden |
| ksunden | https://github.com/ksunden |
|
Mar 20, 2026
| https://github.com/matplotlib/matplotlib/pull/31307/#pullrequestreview-3983413508 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31307/files/aafeacd4e81c5853f75101884c68a103e478023e |
| https://github.com/ksunden |
| ksunden | https://github.com/ksunden |
| v3.11.0 | https://github.com/matplotlib/matplotlib/milestone/96 |
| Mar 20, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#event-23762074326 |
| https://github.com/ksunden |
| ksunden | https://github.com/ksunden |
| 4eed106 | https://github.com/matplotlib/matplotlib/commit/4eed10629d8df1af4c1532542f65e85c5312ae5e |
| Mar 20, 2026 | https://github.com/matplotlib/matplotlib/pull/31307#event-23762084026 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| First Time Contributors | https://github.com/orgs/matplotlib/projects/1 |
| Mar 20, 2026 | https://github.com/matplotlib/matplotlib/pull/31307/#event-23762085910 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
|
Mar 20, 2026
| https://github.com/matplotlib/matplotlib/pull/31307/#ref-issue-2317152278 |
|
[Bug]: set linestyle='dashed' raise error with quiver and legend
#28298
| https://github.com/matplotlib/matplotlib/issues/28298 |
| https://github.com/ksunden |
| ksunden | https://github.com/ksunden |
|
Apr 30, 2026
| https://github.com/matplotlib/matplotlib/pull/31307/#ref-issue-4350455686 |
|
[Bug]: Different behaviour between showing and savefig PDF
#31585
| https://github.com/matplotlib/matplotlib/issues/31585 |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/31307/{{ 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%2F31307%2F |
|
| https://github.com/timhoffm |
|
timhoffm
| https://github.com/timhoffm |
|
| https://github.com/matplotlib/matplotlib/pull/31307/files/3f42ea84018ba9e0b95e6529a61a1050a5bfacd9 |
|
| https://github.com/QuLogic |
|
QuLogic
| https://github.com/QuLogic |
|
| https://github.com/matplotlib/matplotlib/pull/31307/files/aafeacd4e81c5853f75101884c68a103e478023e |
|
| https://github.com/ksunden |
|
ksunden
| https://github.com/ksunden |
|
| https://github.com/matplotlib/matplotlib/pull/31307/files/aafeacd4e81c5853f75101884c68a103e478023e |
|
first-contribution
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3Afirst-contribution |
|
topic: plotting methods
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20plotting%20methods%22 |
|
First Time Contributors
| https://github.com/orgs/matplotlib/projects/1 |
|
v3.11.0
| https://github.com/matplotlib/matplotlib/milestone/96 |
|
stairs with dashed linestyle and fill=True raises ValueError
| https://github.com/matplotlib/matplotlib/issues/31302 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31307/ |
|
| https://github.com/francisayyad03 |
|
| https://github.com/QuLogic |
|
| https://github.com/ksunden |
|
| https://github.com/timhoffm |
|
| https://github.com/melissawm |
|
| 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 |