Title: hist2d and x/y limits · Issue #3815 · matplotlib/matplotlib · GitHub
Open Graph Title: hist2d and x/y limits · Issue #3815 · matplotlib/matplotlib
X Title: hist2d and x/y limits · Issue #3815 · matplotlib/matplotlib
Description: The hist2d doesn't behave as expected (at least as I expected) when setting x and y limits. x = randn(10000); y = randn(10000); figure() xlim(-2, 2); hist(x, bins=100); # obeys the xlim figure(); xlim(-2, 2); ylim(-2, 2); hist2d(x, y, bi...
Open Graph Description: The hist2d doesn't behave as expected (at least as I expected) when setting x and y limits. x = randn(10000); y = randn(10000); figure() xlim(-2, 2); hist(x, bins=100); # obeys the xlim figure(); x...
X Description: The hist2d doesn't behave as expected (at least as I expected) when setting x and y limits. x = randn(10000); y = randn(10000); figure() xlim(-2, 2); hist(x, bins=100); # obeys the xlim figure(...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3815
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"hist2d and x/y limits","articleBody":"The hist2d doesn't behave as expected (at least as I expected) when setting x and y limits.\n\n``` python\n\nx = randn(10000);\ny = randn(10000);\n\n\nfigure()\nxlim(-2, 2);\nhist(x, bins=100); # obeys the xlim\n\nfigure();\nxlim(-2, 2);\nylim(-2, 2);\nhist2d(x, y, bins=100); # sets it's own xlim that seems to depend on bin size\n```\n\nRunning matplotlib 1.4.2\n","author":{"url":"https://github.com/eyurtsev","@type":"Person","name":"eyurtsev"},"datePublished":"2014-11-19T00:07:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/3815/matplotlib/issues/3815"}
| 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:4eadbe1f-be7d-69e8-3ce3-dc67f97b8639 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 96F0:4342D:1B8E86D:247A956:6A52CB74 |
| html-safe-nonce | 1470e84dd766aa8f6fff51ef0b9dace6bdb4d0e37d97292f079a37337853a4a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkYwOjQzNDJEOjFCOEU4NkQ6MjQ3QTk1Njo2QTUyQ0I3NCIsInZpc2l0b3JfaWQiOiI3MzcxNjUzODM1OTM5NTY0NDA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e5801ecbeac4bfff754d890ca74ddbcadd6d8ed2116d477235e6c02c3c991c83 |
| hovercard-subject-tag | issue:49311510 |
| 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/3815/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47f06a37b14b92e5ef0793130b8de305b247cec5f28018a9eb4c526f8a85d2a3/matplotlib/matplotlib/issues/3815 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47f06a37b14b92e5ef0793130b8de305b247cec5f28018a9eb4c526f8a85d2a3/matplotlib/matplotlib/issues/3815 |
| og:image:alt | The hist2d doesn't behave as expected (at least as I expected) when setting x and y limits. x = randn(10000); y = randn(10000); figure() xlim(-2, 2); hist(x, bins=100); # obeys the xlim figure(); x... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eyurtsev |
| 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