Title: Contour hatching by pelson · Pull Request #706 · matplotlib/matplotlib · GitHub
Open Graph Title: Contour hatching by pelson · Pull Request #706 · matplotlib/matplotlib
X Title: Contour hatching by pelson · Pull Request #706 · matplotlib/matplotlib
Description: Its Friday afternoon and I wanted to share a little extension to support contour hatching. Here is some example code using it: import matplotlib.pyplot as plt import numpy x = numpy.linspace(-3, 5, 50).reshape(1, -1) y = numpy.linspace(-3, 5, 30).reshape(-1, 1) z = numpy.cos(x) + numpy.sin(y) plt.gray() plt.contourf(x.flatten(), y.flatten(), z, hatches=['-', '/', '\\']) plt.show() I would love to hear your feedback, any improvements and if you have other examples (which could go in the gallery). Thanks,
Open Graph Description: Its Friday afternoon and I wanted to share a little extension to support contour hatching. Here is some example code using it: import matplotlib.pyplot as plt import numpy x = numpy.linspace(-3, 5...
X Description: Its Friday afternoon and I wanted to share a little extension to support contour hatching. Here is some example code using it: import matplotlib.pyplot as plt import numpy x = numpy.linspace(-3, 5...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/706
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:760a3002-5d60-826b-2fd0-6dbbd71ea4ae |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E4C8:3E220D:1BC8C9E:2873112:6A5645DB |
| html-safe-nonce | a70c3fcb90b8fa3fd9a71cbff0c8dfaea2eed2584799000aceb60ab6ef2dd71b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEM4OjNFMjIwRDoxQkM4QzlFOjI4NzMxMTI6NkE1NjQ1REIiLCJ2aXNpdG9yX2lkIjoiNDk4NzI0NjQzMDI0OTE3NDQ5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c769e31b028a28c729df0c034bcc3f1cbc8631f268f0c745c7bb83b3cb014ae5 |
| hovercard-subject-tag | pull_request:847151 |
| 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/706/files |
| twitter:image | https://avatars.githubusercontent.com/u/810663?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/810663?s=400&v=4 |
| og:image:alt | Its Friday afternoon and I wanted to share a little extension to support contour hatching. Here is some example code using it: import matplotlib.pyplot as plt import numpy x = numpy.linspace(-3, 5... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 96d96c6ad1e3234907759a5e634942d2ca0aded8a6ec1693a59d0f2c59c0dac9 |
| 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 | f0d7fddec181d430daaf48494eb476abffad4d37 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width