Title: Fix issue #4414 · Pull Request #6171 · matplotlib/matplotlib · GitHub
Open Graph Title: Fix issue #4414 · Pull Request #6171 · matplotlib/matplotlib
X Title: Fix issue #4414 · Pull Request #6171 · matplotlib/matplotlib
Description: Here is an attempt fix to bug #4414 The bugfix code involves an if statement method that checks the histtype and normed parameters to sets the y limit accordingly. If the histtype property were not given, then the algorithm would simply scale the graph as if it were a bargraph. However, this is not the case with histtype = “stepfilled”. Since histtype = “stepfilled” is given, it will not scale according to the data, which is why it is imperative to determine the method of scaling before any calculations. The best way to do this is by using an if statement when histtype=’stepfilled’ to check the value of the normed property, and scale accordingly(i.e. Manually calculate dimensions if data not normalized normed=False vs. Auto scale if data is normalized normed=True).
Open Graph Description: Here is an attempt fix to bug #4414 The bugfix code involves an if statement method that checks the histtype and normed parameters to sets the y limit accordingly. If the histtype property were not...
X Description: Here is an attempt fix to bug #4414 The bugfix code involves an if statement method that checks the histtype and normed parameters to sets the y limit accordingly. If the histtype property were not...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/6171
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7519894b-42fa-f780-c58e-9ddef23975b3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EC42:3D4855:8FA420:D02F28:6A578A5B |
| html-safe-nonce | e997474e8df3900520971810a918f00a388b5a985dff3f89f98da11084e0e53b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzQyOjNENDg1NTo4RkE0MjA6RDAyRjI4OjZBNTc4QTVCIiwidmlzaXRvcl9pZCI6IjUyMTEwNDQyNDgxOTIyNTY2MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0a79dea9bb014939a3c1b13831e9480efd36f66b9e5d41fba65fdefc0e71aca7 |
| hovercard-subject-tag | pull_request:63150556 |
| 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/6171/files |
| twitter:image | https://avatars.githubusercontent.com/u/10137?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10137?s=400&v=4 |
| og:image:alt | Here is an attempt fix to bug #4414 The bugfix code involves an if statement method that checks the histtype and normed parameters to sets the y limit accordingly. If the histtype property were not... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6353e56e94423c9cd5abde7708a859afa36a0c1203c73749055bf6ee6704cd0 |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f59ab1c46b638204e2aea09126d089be5dc773b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width