Title: keyword labelrotation is not recognized · Issue #8122 · matplotlib/matplotlib · GitHub
Open Graph Title: keyword labelrotation is not recognized · Issue #8122 · matplotlib/matplotlib
X Title: keyword labelrotation is not recognized · Issue #8122 · matplotlib/matplotlib
Description: Bug report Bug summary in ax.tick_params, I get this error keyword labelrotation is not recognized Code for reproduction ax.tick_params(labelsize=10,labelrotation=40) Actual outcome -------------------------------------------------------...
Open Graph Description: Bug report Bug summary in ax.tick_params, I get this error keyword labelrotation is not recognized Code for reproduction ax.tick_params(labelsize=10,labelrotation=40) Actual outcome ---------------...
X Description: Bug report Bug summary in ax.tick_params, I get this error keyword labelrotation is not recognized Code for reproduction ax.tick_params(labelsize=10,labelrotation=40) Actual outcome ---------------...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/8122
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"keyword labelrotation is not recognized","articleBody":"### Bug report\r\n\r\n**Bug summary**\r\nin [ax.tick_params](http://matplotlib.org/devdocs/api/_as_gen/matplotlib.axes.Axes.tick_params.html), I get this error \r\n\r\n```keyword labelrotation is not recognized```\r\n**Code for reproduction**\r\n\r\n```\r\nax.tick_params(labelsize=10,labelrotation=40)\r\n```\r\n\r\n**Actual outcome**\r\n\r\n```\r\n---------------------------------------------------------------------------\r\nValueError Traceback (most recent call last)\r\n\u003cipython-input-186-fd6800d79e43\u003e in \u003cmodule\u003e()\r\n 12 \r\n 13 \r\n---\u003e 14 ax.tick_params(labelsize=10,labelrotation=40)\r\n 15 \r\n 16 ax.set_xlabel('Fat',fontsize=16)\r\n\r\n/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/mpl_toolkits/mplot3d/axes3d.py in tick_params(self, axis, **kwargs)\r\n 1395 This function was added, but not tested. Please report any bugs.\r\n 1396 \"\"\"\r\n-\u003e 1397 Axes.tick_params(self, axis, **kwargs)\r\n 1398 if axis in ['z', 'both'] :\r\n 1399 zkw = dict(kwargs)\r\n\r\n/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/matplotlib/axes/_base.py in tick_params(self, axis, **kwargs)\r\n 2711 xkw.pop('labelleft', None)\r\n 2712 xkw.pop('labelright', None)\r\n-\u003e 2713 self.xaxis.set_tick_params(**xkw)\r\n 2714 if axis in ['y', 'both']:\r\n 2715 ykw = dict(kwargs)\r\n\r\n/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/matplotlib/axis.py in set_tick_params(self, which, reset, **kw)\r\n 789 if which == 'minor' or which == 'both':\r\n 790 dicts.append(self._minor_tick_kw)\r\n--\u003e 791 kwtrans = self._translate_tick_kw(kw, to_init_kw=True)\r\n 792 for d in dicts:\r\n 793 if reset:\r\n\r\n/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/matplotlib/axis.py in _translate_tick_kw(kw, to_init_kw)\r\n 860 raise ValueError(\r\n 861 \"keyword %s is not recognized; valid keywords are %s\"\r\n--\u003e 862 % (key, kwkeys))\r\n 863 kwtrans.update(kw)\r\n 864 else:\r\n\r\nValueError: keyword labelrotation is not recognized; valid keywords are ['size', 'width', 'color', 'tickdir', 'pad', 'labelsize', 'labelcolor', 'zorder', 'gridOn', 'tick1On', 'tick2On', 'label1On', 'label2On', 'length', 'direction', 'left', 'bottom', 'right', 'top', 'labelleft', 'labelbottom', 'labelright', 'labeltop']\r\n```","author":{"url":"https://github.com/ggrrll","@type":"Person","name":"ggrrll"},"datePublished":"2017-02-21T17:51:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/8122/matplotlib/issues/8122"}
| 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:a4f544eb-4a8b-8723-3383-c3286f6eccb9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E36A:166AAB:2EF43C6:3FEF997:6A53D3F0 |
| html-safe-nonce | da48a2b767722116e586ac5542a4b8a415ae184a5c6c19224e92a81699f73d7c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzZBOjE2NkFBQjoyRUY0M0M2OjNGRUY5OTc6NkE1M0QzRjAiLCJ2aXNpdG9yX2lkIjoiNDI0NzQ5MDM5NDI4NjQ0NTU1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e9325ac43c51cf63a716297b991ea12f94d058167d80d5b9ce89d88e35065623 |
| hovercard-subject-tag | issue:209222608 |
| 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/8122/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7d963a78f11a9c4aabe9f2031647bb656e0dc96989b0ee4d551e5fab22ea2f2f/matplotlib/matplotlib/issues/8122 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7d963a78f11a9c4aabe9f2031647bb656e0dc96989b0ee4d551e5fab22ea2f2f/matplotlib/matplotlib/issues/8122 |
| og:image:alt | Bug report Bug summary in ax.tick_params, I get this error keyword labelrotation is not recognized Code for reproduction ax.tick_params(labelsize=10,labelrotation=40) Actual outcome ---------------... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ggrrll |
| 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