Title: Legend hatching fixes by QuLogic · Pull Request #8575 · matplotlib/matplotlib · GitHub
Open Graph Title: Legend hatching fixes by QuLogic · Pull Request #8575 · matplotlib/matplotlib
X Title: Legend hatching fixes by QuLogic · Pull Request #8575 · matplotlib/matplotlib
Description: Two fixes for hatching in legends: PolyCollections don't show hatching when the default colour is used. This is because the set edge colour is copied which means the default behaviour of finding the hatch colour from rcParams is not done. Instead copy the "original" edge colour which triggers any other processing when setting the edge colour on the legend patch. Patchs show the wrong colour when an explicit one is set; this is simply because the hatching colour is not copied with other settings. I added tests for both these types of artists; are there any others that might work differently that should be added?
Open Graph Description: Two fixes for hatching in legends: PolyCollections don't show hatching when the default colour is used. This is because the set edge colour is copied which means the default behaviour of find...
X Description: Two fixes for hatching in legends: PolyCollections don't show hatching when the default colour is used. This is because the set edge colour is copied which means the default behaviour of ...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/8575
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:db8c76bf-8568-6f14-0d99-9c99056258c7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B048:33711E:81C059:ACF868:6A51A8E3 |
| html-safe-nonce | 47ef6bbd5cfe3d7b33d246551764c883a3da5a18cd59494a7a1f69e0f31ee948 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDQ4OjMzNzExRTo4MUMwNTk6QUNGODY4OjZBNTFBOEUzIiwidmlzaXRvcl9pZCI6IjY1MTAxMjgyMzE1MjU0OTI5NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f726155ecdfcb6637f2bd57f51c640d6fbc279a70ea9d8aaf30b4a8f93b12b7f |
| hovercard-subject-tag | pull_request:119107308 |
| 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/8575/files |
| twitter:image | https://avatars.githubusercontent.com/u/302469?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/302469?s=400&v=4 |
| og:image:alt | Two fixes for hatching in legends: PolyCollections don't show hatching when the default colour is used. This is because the set edge colour is copied which means the default behaviour of find... |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width