Title: Y-axis value of a seaborn heatmap is reversed when home icon or H button is pushed · Issue #9863 · matplotlib/matplotlib · GitHub
Open Graph Title: Y-axis value of a seaborn heatmap is reversed when home icon or H button is pushed · Issue #9863 · matplotlib/matplotlib
X Title: Y-axis value of a seaborn heatmap is reversed when home icon or H button is pushed · Issue #9863 · matplotlib/matplotlib
Description: Bug report Bug summary The value of Y-axis in a seaborn heatmap is reversed when home icon or H button is pushed. Code for reproduction import matplotlib.pyplot as plt import numpy as np import seaborn as sns data = np.random.rand(10, 10...
Open Graph Description: Bug report Bug summary The value of Y-axis in a seaborn heatmap is reversed when home icon or H button is pushed. Code for reproduction import matplotlib.pyplot as plt import numpy as np import sea...
X Description: Bug report Bug summary The value of Y-axis in a seaborn heatmap is reversed when home icon or H button is pushed. Code for reproduction import matplotlib.pyplot as plt import numpy as np import sea...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/9863
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Y-axis value of a seaborn heatmap is reversed when home icon or H button is pushed","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\n**Bug summary**\r\nThe value of Y-axis in a seaborn heatmap is reversed when home icon or H button is pushed.\r\n\r\n\u003c!--A short 1-2 sentences that succinctly describes the bug--\u003e\r\n\r\n**Code for reproduction**\r\n\r\n\u003c!--A minimum code snippet required to reproduce the bug, also minimizing the number of dependencies required--\u003e\r\n\r\n\r\n```python\r\n\r\nimport matplotlib.pyplot as plt\r\nimport numpy as np\r\nimport seaborn as sns\r\n\r\ndata = np.random.rand(10, 10)\r\nsns.heatmap(data)\r\nplt.show()\r\n\r\n```\r\n\r\n**Actual outcome**\r\n\r\n\u003c!--The output produced by the above code, which may be a screenshot, console output, etc.--\u003e\r\n\r\n```\r\nInitial result on the Y-axis is from 9 to 0\r\nAfter Home/H is pushed it will reverse the order from 0 to 9\r\n```\r\n\r\n**Expected outcome**\r\n```\r\nIt should not reverse the order of Y-axis value\r\nas tested on matplotlib 2.0.2\r\n```\r\n\r\n\u003c!--A description of the expected outcome from the code snippet--\u003e\r\n\u003c!--If this used to work in an earlier version of Matplotlib, please note the version it used to work on--\u003e\r\n\r\n**Matplotlib version**\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating system: Ubuntu 17.04\r\n * Matplotlib version: 2.1.0\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): TkAgg\r\n * Python version: 3.6.1\r\n * Jupyter version (if applicable): N/A\r\n * Other libraries: Seaborn 0.8.1\r\n\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\nPython3.6 is installed using APT, while matplotlib is installed via pip\r\n\r\n","author":{"url":"https://github.com/cxrxixs","@type":"Person","name":"cxrxixs"},"datePublished":"2017-11-26T15:22:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":28},"url":"https://github.com/9863/matplotlib/issues/9863"}
| 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:4cfaf66c-9d46-5d4d-40ce-7c338e07312c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D8AA:37AB26:C9FE82:114C598:6A53A71E |
| html-safe-nonce | 1d117788f6ac508db98d699959fae52886dde131de107eac031abdc6779e56dd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEFBOjM3QUIyNjpDOUZFODI6MTE0QzU5ODo2QTUzQTcxRSIsInZpc2l0b3JfaWQiOiIxNjQ2MTYxMDM5NjMxNTU4NDMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 249a0386c7c25eba8250913005fdef84eb6460b8a17e73a5110018593d052671 |
| hovercard-subject-tag | issue:276832362 |
| 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/9863/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c0511a16b8d6750647fb6c775f8f7533cbab21e166030e84010d957b66027e05/matplotlib/matplotlib/issues/9863 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c0511a16b8d6750647fb6c775f8f7533cbab21e166030e84010d957b66027e05/matplotlib/matplotlib/issues/9863 |
| og:image:alt | Bug report Bug summary The value of Y-axis in a seaborn heatmap is reversed when home icon or H button is pushed. Code for reproduction import matplotlib.pyplot as plt import numpy as np import sea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cxrxixs |
| 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 | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width