Title: hist(..., histtype='step') does not set ylim properly. · Issue #2061 · matplotlib/matplotlib · GitHub
Open Graph Title: hist(..., histtype='step') does not set ylim properly. · Issue #2061 · matplotlib/matplotlib
X Title: hist(..., histtype='step') does not set ylim properly. · Issue #2061 · matplotlib/matplotlib
Description: Checked with the latest version from master (d5071f4). import numpy import pylab x = numpy.array( [ 94, 95, 96, 98, 84, 104, 99, 88, 80, 90, 99, 95, 89, 88, 94, 99, 99, 91, 100, 86, 102, 85, 84, 95, 87, 87, 106, 109, 97, 97, 106, 93, 90,...
Open Graph Description: Checked with the latest version from master (d5071f4). import numpy import pylab x = numpy.array( [ 94, 95, 96, 98, 84, 104, 99, 88, 80, 90, 99, 95, 89, 88, 94, 99, 99, 91, 100, 86, 102, 85, 84, 95...
X Description: Checked with the latest version from master (d5071f4). import numpy import pylab x = numpy.array( [ 94, 95, 96, 98, 84, 104, 99, 88, 80, 90, 99, 95, 89, 88, 94, 99, 99, 91, 100, 86, 102, 85, 84, 95...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/2061
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"hist(..., histtype='step') does not set ylim properly.","articleBody":"Checked with the latest version from master (d5071f4b09ecf8daca4400e404d343fe08a4f896).\n\n``` py\nimport numpy\nimport pylab\n\nx = numpy.array(\n [ 94, 95, 96, 98, 84, 104, 99, 88, 80, 90, 99, 95, 89,\n 88, 94, 99, 99, 91, 100, 86, 102, 85, 84, 95, 87, 87,\n 106, 109, 97, 97, 106, 93, 90, 91, 95, 93, 81, 93, 103,\n 82, 94, 89, 113, 93, 95, 103, 99, 99, 93, 103, 87, 94,\n 96, 104, 88, 98, 89, 117, 88, 87, 97, 91, 84, 90, 98,\n 90, 100, 92, 102, 89, 104, 104, 92, 96, 88, 97, 105, 106,\n 104, 105, 88, 93, 112, 82, 102, 81, 80, 86, 100, 101, 93,\n 93, 91, 99, 90, 100, 93, 96, 99, 99])\npylab.hist(x, histtype='step')\npylab.savefig('fig.png')\n```\n\n\n\nIt failed to show the lower y values. If you set ymin=0, you can see it:\n\n``` py\npylab.ylim(ymin=0)\npylab.savefig('fig2.png')\n```\n\n\n","author":{"url":"https://github.com/tkf","@type":"Person","name":"tkf"},"datePublished":"2013-05-24T12:21:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/2061/matplotlib/issues/2061"}
| 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:76076af1-4c38-5758-7656-bb073f7acf5c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C4C4:1258BB:B4415A:F429B9:6A5318E2 |
| html-safe-nonce | 48f357db1f0f0c39ee68c157c1716a10294cf19d2e15705a921476b56be72ab3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEM0OjEyNThCQjpCNDQxNUE6RjQyOUI5OjZBNTMxOEUyIiwidmlzaXRvcl9pZCI6IjM2MzAzODgyMTMyOTY4NjM0NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9e4757a371c04f5b243a644db5b1f58eabf48feb9fc68d99bcd78ba7b1bb0da6 |
| hovercard-subject-tag | issue:14719250 |
| 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/2061/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c9c27ac207cafd69a868a7a3511007e4e10d0413a9aa02702ff5896a1b7d8931/matplotlib/matplotlib/issues/2061 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9c27ac207cafd69a868a7a3511007e4e10d0413a9aa02702ff5896a1b7d8931/matplotlib/matplotlib/issues/2061 |
| og:image:alt | Checked with the latest version from master (d5071f4). import numpy import pylab x = numpy.array( [ 94, 95, 96, 98, 84, 104, 99, 88, 80, 90, 99, 95, 89, 88, 94, 99, 99, 91, 100, 86, 102, 85, 84, 95... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tkf |
| 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