{"action":"opened","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6180","repository_url":"https://api.github.com/repos/matplotlib/matplotlib","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6180/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6180/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6180/events","html_url":"https://github.com/matplotlib/matplotlib/issues/6180","id":141797734,"number":6180,"title":"Minor typos in the style sheets users' guide","user":{"login":"anntzer","id":1322974,"avatar_url":"https://avatars.githubusercontent.com/u/1322974?v=3","gravatar_id":"","url":"https://api.github.com/users/anntzer","html_url":"https://github.com/anntzer","followers_url":"https://api.github.com/users/anntzer/followers","following_url":"https://api.github.com/users/anntzer/following{/other_user}","gists_url":"https://api.github.com/users/anntzer/gists{/gist_id}","starred_url":"https://api.github.com/users/anntzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anntzer/subscriptions","organizations_url":"https://api.github.com/users/anntzer/orgs","repos_url":"https://api.github.com/users/anntzer/repos","events_url":"https://api.github.com/users/anntzer/events{/privacy}","received_events_url":"https://api.github.com/users/anntzer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-18T07:52:56Z","updated_at":"2016-03-18T07:52:56Z","closed_at":null,"body":"I can't get the docs to build properly so I'll just report an issue instead of a PR...\r\nhttp://matplotlib.org/users/style_sheets.html\r\n\r\n```\r\n>>> print plt.style.available\r\n```\r\nshould probably be switched to Py3 `print()`\r\n\r\n```\r\n>>> import numpy as np\r\n>>> import matplotlib.pyplot as plt\r\n>>>\r\n>>> with plt.style.context(('dark_background')):\r\n>>>     plt.plot(np.sin(np.linspace(0, 2*np.pi)), 'r-o')\r\n>>>\r\n>>> # Some plotting code with the default style\r\n>>>\r\n>>> plt.show()\r\n```\r\nextra parenthesis around `'dark_background'`, spaces needed in `2 * np.pi`, and the `>>>` prompts with nothing else on the line are not highlighted properly (I would just get rid of all `>>>` prompts anyways, see e.g. the `pyplot` tutorial)."}}