Title: [ENH]: Implement gapcolor for patch edges · Issue #30934 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: Implement gapcolor for patch edges · Issue #30934 · matplotlib/matplotlib
X Title: [ENH]: Implement gapcolor for patch edges · Issue #30934 · matplotlib/matplotlib
Description: Problem The gapcolor property allows drawing "stripey" Line2Ds and LineCollections with two different colors. Another set of artists that could benefit from this feature is patches -- currently, their edge can be drawn with dashes, but n...
Open Graph Description: Problem The gapcolor property allows drawing "stripey" Line2Ds and LineCollections with two different colors. Another set of artists that could benefit from this feature is patches -- currently, th...
X Description: Problem The gapcolor property allows drawing "stripey" Line2Ds and LineCollections with two different colors. Another set of artists that could benefit from this feature is patches -- cur...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/30934
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: Implement gapcolor for patch edges","articleBody":"### Problem\n\nThe gapcolor property allows drawing \"stripey\" Line2Ds and LineCollections with two different colors. Another set of artists that could benefit from this feature is patches -- currently, their edge can be drawn with dashes, but not with two different colors.\n\nAn example use case is to draw (unfilled) patches on a background whose color is not controlled, and can in particular be very light or very dark. In that case, using stripey patches alternating black and white ensures that the patch is visible no matter the underlying background.\n\n### Proposed solution\n\nAdd support for gapcolor in Patches. (Maybe the property should be named \"edgegapcolor\" for consistency.)","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2026-01-04T20:30:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/30934/matplotlib/issues/30934"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:05f235d8-cd5c-8f6c-5d98-0edb98d9926a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C3D0:200341:66C25A:8A10D9:6A52FEB9 |
| html-safe-nonce | 4934003c98f6d69ca26fb6a743c9daf2f49fa33a0fa8c3991df31a71ac0116f5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0QwOjIwMDM0MTo2NkMyNUE6OEExMEQ5OjZBNTJGRUI5IiwidmlzaXRvcl9pZCI6IjIxMTE5OTkyMjI2ODk3NTg5MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8c4cf50db184a70d53ffc4b549c8445e47d552f24b91ce17ebfa96800db691ca |
| hovercard-subject-tag | issue:3779617720 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/matplotlib/matplotlib/30934/issue_layout |
| twitter:image | https://opengraph.githubassets.com/455c3fb173cdb105e6e5bcf96ca18619f6e809b67f9c64ac0a21c3dbfddbcb70/matplotlib/matplotlib/issues/30934 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/455c3fb173cdb105e6e5bcf96ca18619f6e809b67f9c64ac0a21c3dbfddbcb70/matplotlib/matplotlib/issues/30934 |
| og:image:alt | Problem The gapcolor property allows drawing "stripey" Line2Ds and LineCollections with two different colors. Another set of artists that could benefit from this feature is patches -- currently, th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width