Title: Heatmaps are being truncated when using with seaborn · Issue #14675 · matplotlib/matplotlib · GitHub
Open Graph Title: Heatmaps are being truncated when using with seaborn · Issue #14675 · matplotlib/matplotlib
X Title: Heatmaps are being truncated when using with seaborn · Issue #14675 · matplotlib/matplotlib
Description: Bug report Bug summary The very top and bottom of the heatmaps are getting truncated to 1/2 height in version 3.1.1. This does not happen for version 3.0.3. This is the code from a Jupyter Notebook import matplotlib import pandas as pd i...
Open Graph Description: Bug report Bug summary The very top and bottom of the heatmaps are getting truncated to 1/2 height in version 3.1.1. This does not happen for version 3.0.3. This is the code from a Jupyter Notebook...
X Description: Bug report Bug summary The very top and bottom of the heatmaps are getting truncated to 1/2 height in version 3.1.1. This does not happen for version 3.0.3. This is the code from a Jupyter Notebook...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/14675
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Heatmaps are being truncated when using with seaborn","articleBody":"### Bug report\r\n\r\n**Bug summary**\r\n\r\nThe very top and bottom of the heatmaps are getting truncated to 1/2 height in version `3.1.1`. This does not happen for version `3.0.3`.\r\n\r\nThis is the code from a Jupyter Notebook\r\n```python\r\nimport matplotlib\r\nimport pandas as pd\r\nimport numpy as np\r\nimport seaborn as sb\r\n%pylab inline\r\n\r\nprint(matplotlib.__version__)\r\nprint(sb.__version__)\r\n\r\ngrid = pd.DataFrame(np.arange(9).reshape((3,3))/10)\r\nfig, ax = subplots(1, 1, figsize=(5, 5))\r\n\r\nsb.heatmap(grid, annot=True, fmt=\".0f\", ax=ax, cmap='RdBu', vmin=0, vmax=1, cbar=True);\r\n```\r\n**Actual outcome**\r\n\r\n```\r\nPopulating the interactive namespace from numpy and matplotlib\r\n3.1.1\r\n0.9.0\r\n```\r\n\r\n\r\n\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 Linux\r\n * Matplotlib version: 3.1.1\r\n * Matplotlib backend: module://ipykernel.pylab.backend_inline\r\n * Python version: 3.6\r\n * Jupyter version (if applicable): 4.4.0\r\n * Other libraries: \r\n","author":{"url":"https://github.com/mirage007","@type":"Person","name":"mirage007"},"datePublished":"2019-07-02T16:45:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/14675/matplotlib/issues/14675"}
| 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:73a7831d-f10b-6874-1983-ce8565caa9c3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9486:1F08C5:5980EE:763D8F:6A53ED09 |
| html-safe-nonce | 1c5367a156e7312fa7457588059710695bbbe1b787042a9c121be3badd312a1d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDg2OjFGMDhDNTo1OTgwRUU6NzYzRDhGOjZBNTNFRDA5IiwidmlzaXRvcl9pZCI6IjQ1NjY1MTUzMzI2MzgyNjE4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f16c9d45db71013032177da4b04a03c5a53c563e61c924df893b198d81fdec39 |
| hovercard-subject-tag | issue:463332089 |
| 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/14675/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c959b475792f3faae5cf20c73cf9722b233c05a485e2d71a17af66131c2062e0/matplotlib/matplotlib/issues/14675 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c959b475792f3faae5cf20c73cf9722b233c05a485e2d71a17af66131c2062e0/matplotlib/matplotlib/issues/14675 |
| og:image:alt | Bug report Bug summary The very top and bottom of the heatmaps are getting truncated to 1/2 height in version 3.1.1. This does not happen for version 3.0.3. This is the code from a Jupyter Notebook... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mirage007 |
| 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