Title: Incorrect ylabel placement in twinx · Issue #1608 · matplotlib/matplotlib · GitHub
Open Graph Title: Incorrect ylabel placement in twinx · Issue #1608 · matplotlib/matplotlib
X Title: Incorrect ylabel placement in twinx · Issue #1608 · matplotlib/matplotlib
Description: The ylabel of the new axes is not vertically centered and sometimes it overlaps yticklabels. This happens in recent development versions but not in 1.2.0. This script shows the issue: #!/usr/bin/env python import matplotlib as mpl mpl.us...
Open Graph Description: The ylabel of the new axes is not vertically centered and sometimes it overlaps yticklabels. This happens in recent development versions but not in 1.2.0. This script shows the issue: #!/usr/bin/en...
X Description: The ylabel of the new axes is not vertically centered and sometimes it overlaps yticklabels. This happens in recent development versions but not in 1.2.0. This script shows the issue: #!/usr/bin/en...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/1608
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect ylabel placement in twinx","articleBody":"The ylabel of the new axes is not vertically centered and sometimes it overlaps yticklabels. This happens in recent development versions but not in 1.2.0.\n\nThis script shows the issue:\n\n``` python\n#!/usr/bin/env python\n\nimport matplotlib as mpl\nmpl.use('agg')\nimport matplotlib.pyplot as plt\nimport numpy as np\n\nx = np.arange(100)\ny1 = x\ny2 = 1. / (x + 1)\n\nplt.plot(x, y1)\nplt.ylabel('Y axis #1')\nplt.twinx()\nplt.plot(x, y2)\nplt.ylabel('Y axis #2')\nplt.savefig('test.png')\nplt.close()\n```\n\nThis is the ouput with mpl 1.2.0 (correct):\n\n\nAnd with 1.3.x (incorrect):\n\n","author":{"url":"https://github.com/goyodiaz","@type":"Person","name":"goyodiaz"},"datePublished":"2012-12-18T19:12:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/1608/matplotlib/issues/1608"}
| 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:85b7fd51-cdce-f4de-bb24-20ce9049d6b3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99BE:1FFBCD:1D6B50:292E8B:6A535CF2 |
| html-safe-nonce | 02572ab78e8cabdcf28cd4acf76ec5f14f21f587f7ebdccde3c9e2c2985f0738 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUJFOjFGRkJDRDoxRDZCNTA6MjkyRThCOjZBNTM1Q0YyIiwidmlzaXRvcl9pZCI6IjkwODc1NjQ2NjU5MzI5NjMwNTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 502ad61551b295171c58f3bf97e528328ad70a3ce34cfb56734f6a98da85f44d |
| hovercard-subject-tag | issue:9378206 |
| 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/1608/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6a03b1a8bafa09ee9e429ecb0a08124e842b17974bbefc64161abce3599d3840/matplotlib/matplotlib/issues/1608 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a03b1a8bafa09ee9e429ecb0a08124e842b17974bbefc64161abce3599d3840/matplotlib/matplotlib/issues/1608 |
| og:image:alt | The ylabel of the new axes is not vertically centered and sometimes it overlaps yticklabels. This happens in recent development versions but not in 1.2.0. This script shows the issue: #!/usr/bin/en... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | goyodiaz |
| 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