Title: Issue · GitHub
Open Graph Title: Issue · matplotlib/matplotlib
X Title: Issue · matplotlib/matplotlib
Description: matplotlib: plotting with Python. Contribute to matplotlib/matplotlib development by creating an account on GitHub.
Open Graph Description: matplotlib: plotting with Python. Contribute to matplotlib/matplotlib development by creating an account on GitHub.
X Description: matplotlib: plotting with Python. Contribute to matplotlib/matplotlib development by creating an account on GitHub.
Opengraph URL: https://github.com/matplotlib/matplotlib
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"y-axis label no longer obeys x position in 2.0","articleBody":"Using matplotlib with Seaborn's FacetGrid. Before upgrade to 2.0, setting the x,y position of the y-axis label worked. Now only y-position is respected.\r\n\r\n\r\n```python\r\n\r\nimport seaborn as sns\r\nimport matplotlib.pyplot as plt\r\n\r\ng = (sns.FacetGrid(df, col=\"prenom\", hue=\"sexe\", col_wrap=3, size=3, sharey=False, legend_out=True)\r\n .map(plt.plot, \"annee\", \"freq\", ms=3, linewidth=3))\r\n\r\ng.set(xlim=(1980, 2015), xticks=[1980, 1990, 2000, 2010], ylim=0)\r\ng.set_titles('{col_name}')\r\ng.fig.subplots_adjust(top = 0.91, wspace=0.3, hspace=0.3)\r\ng.set_titles('{col_name}', size=13, fontweight='bold', ha='left')\r\ng.set_axis_labels('', 'BABIES')\r\n\r\n### This is the line that is not working ###\r\ng.set_ylabels(rotation=0, position=(0, 1.04), color='grey')\r\n\r\ng.fig.suptitle('Names that changed gender', x = 0.1, ha='left')\r\nsns.plt.legend(loc='upper left',bbox_to_anchor=(1.5,1))\r\nsns.despine()\r\n```\r\n\r\nIt doesn't mater if I put 0 or 999999999 as the x value in the `position` parameter. The label is always in the same horizontal place. \r\n\r\n\r\nMatplotlib version 2.0, Python 3.5 on Mac OSX El Capitan in Jupyter notebook\r\nMatplotlib installed via `conda update matplotlib`\r\n","author":{"url":"https://github.com/robroc","@type":"Person","name":"robroc"},"datePublished":"2017-01-25T16:49:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":26},"url":"https://github.com/7946/matplotlib/issues/7946"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:c6751894-fbe9-9e03-b4d4-221338f142f4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 989E:153FD3:275C422:359F750:6A53ACDC |
| html-safe-nonce | 895d9c807d3bd907b164347f4f9c256781aec59e39255e0fc9f9445daaac3c15 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODlFOjE1M0ZEMzoyNzVDNDIyOjM1OUY3NTA6NkE1M0FDREMiLCJ2aXNpdG9yX2lkIjoiMjE2NjcxNzI3NzgzOTUzNTMyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9c497c315bfbf4bdf0ff091befbe30493a59d80c3b4ce5627f4ab3e3081530bc |
| hovercard-subject-tag | repository:1385122 |
| 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/matplotlib/matplotlib/issues/7946 |
| twitter:image | https://opengraph.githubassets.com/da3717e6a83f542c01acc8b29c6ba51dfbca02ffc2e01ed498a541326027c167/matplotlib/matplotlib |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da3717e6a83f542c01acc8b29c6ba51dfbca02ffc2e01ed498a541326027c167/matplotlib/matplotlib |
| og:image:alt | matplotlib: plotting with Python. Contribute to matplotlib/matplotlib development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| 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