Title: ENH : stepfill between by tacaswell · Pull Request #4433 · matplotlib/matplotlib · GitHub
Open Graph Title: ENH : stepfill between by tacaswell · Pull Request #4433 · matplotlib/matplotlib
X Title: ENH : stepfill between by tacaswell · Pull Request #4433 · matplotlib/matplotlib
Description: import matplotlib.pyplot as plt import numpy as np x = y = np.arange(5) fig, ax_list = plt. subplots(3, 1) for ax, where in zip(ax_list, ['pre', 'post', 'mid']): ax.step(x, y, where=where, color='r', zorder=5, lw=5) ax.step(x, -y, where=where, color='k', zorder=5, lw=5) ax.fill_between(x, y, -y, step_where=where, where=[1, 1 ,0, 1, 1]) fig, ax_list = plt. subplots(3, 1) for ax, where in zip(ax_list, ['pre', 'post', 'mid']): ax.step(x, y, where=where, color='r', zorder=5, lw=5) ax.step(x, -y, where=where, color='k', zorder=5, lw=5) ax.fill_between(x, y, -y, step_where=where) fig, ax_list = plt. subplots(3, 1) for ax, where in zip(ax_list, ['pre', 'post', 'mid']): ax.step(x, y, where=where, color='r', zorder=5, lw=5) ax.fill_between(x, y, 0, step_where=where) Generates: The interaction with where is a bit strange, but I think it is defendable as correct. This stils needs tests + docs for the new feature.
Open Graph Description: import matplotlib.pyplot as plt import numpy as np x = y = np.arange(5) fig, ax_list = plt. subplots(3, 1) for ax, where in zip(ax_list, ['pre', 'post', 'mid']): ax.st...
X Description: import matplotlib.pyplot as plt import numpy as np x = y = np.arange(5) fig, ax_list = plt. subplots(3, 1) for ax, where in zip(ax_list, ['pre', 'post', 'm...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/4433
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:409cfc2b-1bee-6c8c-de76-01b518b1c9d6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C602:2D523B:2FC3FE5:41425FD:6A53E220 |
| html-safe-nonce | ae99f23d69148a4b3430480a117abf8f6d89aa7f5793c324f284fb9c5d114f43 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjAyOjJENTIzQjoyRkMzRkU1OjQxNDI1RkQ6NkE1M0UyMjAiLCJ2aXNpdG9yX2lkIjoiNzU0NTczMzE1OTcwODc3OTA0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | abc218eadeaf34128d90ceebd4a17e1a19eb17e8b8858c42b171dcc85bd269fa |
| hovercard-subject-tag | pull_request:35547729 |
| 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/4433/files |
| twitter:image | https://avatars.githubusercontent.com/u/199813?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/199813?s=400&v=4 |
| og:image:alt | import matplotlib.pyplot as plt import numpy as np x = y = np.arange(5) fig, ax_list = plt. subplots(3, 1) for ax, where in zip(ax_list, ['pre', 'post', 'mid']): ax.st... |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width