{"action":"created","comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments/40494120","id":40494120,"diff_hunk":"@@ -7,10 +7,11 @@ Pyplot tutorial\n :mod:`matplotlib.pyplot` is a collection of command style functions\n that make matplotlib  work like MATLAB.\n Each ``pyplot`` function makes\n-some change to a figure: e.g., create a figure, create a plotting area\n-in a figure, plot some lines in a plotting area, decorate the plot\n-with labels, etc....  :mod:`matplotlib.pyplot` is stateful, in that it\n-keeps track of the current figure and plotting area, and the plotting\n+some change to a figure: e.g., creates a figure, creates a plotting area\n+in a figure, plots some lines in a plotting area, decorates the plot\n+with labels, etc.  In :mod:`matplotlib.pyplot` various states are preserved","path":"doc/users/pyplot_tutorial.rst","position":10,"original_position":10,"commit_id":"237071c9163a2b8284edab3bb0389dccb1ecec25","original_commit_id":"237071c9163a2b8284edab3bb0389dccb1ecec25","user":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"body":"I would be a bit more explicit about what state is tracked which is only the current figure and axes (there is also a `gci`, but it should not be used).","created_at":"2015-09-26T14:39:56Z","updated_at":"2015-09-26T14:39:56Z","html_url":"https://github.com/matplotlib/matplotlib/pull/5147#discussion_r40494120","pull_request_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/5147","_links":{"self":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments/40494120"},"html":{"href":"https://github.com/matplotlib/matplotlib/pull/5147#discussion_r40494120"},"pull_request":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/5147"}}},"pull_request":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/5147","id":46073674,"html_url":"https://github.com/matplotlib/matplotlib/pull/5147","diff_url":"https://github.com/matplotlib/matplotlib/pull/5147.diff","patch_url":"https://github.com/matplotlib/matplotlib/pull/5147.patch","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/5147","number":5147,"state":"open","locked":false,"title":"Cleaned up text in pyplot_tutorial.rst","user":{"login":"gcallah","id":9886904,"avatar_url":"https://avatars.githubusercontent.com/u/9886904?v=3","gravatar_id":"","url":"https://api.github.com/users/gcallah","html_url":"https://github.com/gcallah","followers_url":"https://api.github.com/users/gcallah/followers","following_url":"https://api.github.com/users/gcallah/following{/other_user}","gists_url":"https://api.github.com/users/gcallah/gists{/gist_id}","starred_url":"https://api.github.com/users/gcallah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcallah/subscriptions","organizations_url":"https://api.github.com/users/gcallah/orgs","repos_url":"https://api.github.com/users/gcallah/repos","events_url":"https://api.github.com/users/gcallah/events{/privacy}","received_events_url":"https://api.github.com/users/gcallah/received_events","type":"User","site_admin":false},"body":"Only minor changes to grammar, etc.","created_at":"2015-09-26T02:36:18Z","updated_at":"2015-09-26T14:39:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4c3ab3b696878a7cabe2259934de226c5d50d7e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/5147/commits","review_comments_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/5147/comments","review_comment_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/5147/comments","statuses_url":"https://api.github.com/repos/matplotlib/matplotlib/statuses/237071c9163a2b8284edab3bb0389dccb1ecec25","head":{"label":"gcallah:master","ref":"master","sha":"237071c9163a2b8284edab3bb0389dccb1ecec25","user":{"login":"gcallah","id":9886904,"avatar_url":"https://avatars.githubusercontent.com/u/9886904?v=3","gravatar_id":"","url":"https://api.github.com/users/gcallah","html_url":"https://github.com/gcallah","followers_url":"https://api.github.com/users/gcallah/followers","following_url":"https://api.github.com/users/gcallah/following{/other_user}","gists_url":"https://api.github.com/users/gcallah/gists{/gist_id}","starred_url":"https://api.github.com/users/gcallah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcallah/subscriptions","organizations_url":"https://api.github.com/users/gcallah/orgs","repos_url":"https://api.github.com/users/gcallah/repos","events_url":"https://api.github.com/users/gcallah/events{/privacy}","received_events_url":"https://api.github.com/users/gcallah/received_events","type":"User","site_admin":false},"repo":{"id":43009053,"name":"matplotlib","full_name":"gcallah/matplotlib","owner":{"login":"gcallah","id":9886904,"avatar_url":"https://avatars.githubusercontent.com/u/9886904?v=3","gravatar_id":"","url":"https://api.github.com/users/gcallah","html_url":"https://github.com/gcallah","followers_url":"https://api.github.com/users/gcallah/followers","following_url":"https://api.github.com/users/gcallah/following{/other_user}","gists_url":"https://api.github.com/users/gcallah/gists{/gist_id}","starred_url":"https://api.github.com/users/gcallah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcallah/subscriptions","organizations_url":"https://api.github.com/users/gcallah/orgs","repos_url":"https://api.github.com/users/gcallah/repos","events_url":"https://api.github.com/users/gcallah/events{/privacy}","received_events_url":"https://api.github.com/users/gcallah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gcallah/matplotlib","description":"matplotlib: plotting with Python","fork":true,"url":"https://api.github.com/repos/gcallah/matplotlib","forks_url":"https://api.github.com/repos/gcallah/matplotlib/forks","keys_url":"https://api.github.com/repos/gcallah/matplotlib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gcallah/matplotlib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gcallah/matplotlib/teams","hooks_url":"https://api.github.com/repos/gcallah/matplotlib/hooks","issue_events_url":"https://api.github.com/repos/gcallah/matplotlib/issues/events{/number}","events_url":"https://api.github.com/repos/gcallah/matplotlib/events","assignees_url":"https://api.github.com/repos/gcallah/matplotlib/assignees{/user}","branches_url":"https://api.github.com/repos/gcallah/matplotlib/branches{/branch}","tags_url":"https://api.github.com/repos/gcallah/matplotlib/tags","blobs_url":"https://api.github.com/repos/gcallah/matplotlib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gcallah/matplotlib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gcallah/matplotlib/git/refs{/sha}","trees_url":"https://api.github.com/repos/gcallah/matplotlib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gcallah/matplotlib/statuses/{sha}","languages_url":"https://api.github.com/repos/gcallah/matplotlib/languages","stargazers_url":"https://api.github.com/repos/gcallah/matplotlib/stargazers","contributors_url":"https://api.github.com/repos/gcallah/matplotlib/contributors","subscribers_url":"https://api.github.com/repos/gcallah/matplotlib/subscribers","subscription_url":"https://api.github.com/repos/gcallah/matplotlib/subscription","commits_url":"https://api.github.com/repos/gcallah/matplotlib/commits{/sha}","git_commits_url":"https://api.github.com/repos/gcallah/matplotlib/git/commits{/sha}","comments_url":"https://api.github.com/repos/gcallah/matplotlib/comments{/number}","issue_comment_url":"https://api.github.com/repos/gcallah/matplotlib/issues/comments{/number}","contents_url":"https://api.github.com/repos/gcallah/matplotlib/contents/{+path}","compare_url":"https://api.github.com/repos/gcallah/matplotlib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gcallah/matplotlib/merges","archive_url":"https://api.github.com/repos/gcallah/matplotlib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gcallah/matplotlib/downloads","issues_url":"https://api.github.com/repos/gcallah/matplotlib/issues{/number}","pulls_url":"https://api.github.com/repos/gcallah/matplotlib/pulls{/number}","milestones_url":"https://api.github.com/repos/gcallah/matplotlib/milestones{/number}","notifications_url":"https://api.github.com/repos/gcallah/matplotlib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gcallah/matplotlib/labels{/name}","releases_url":"https://api.github.com/repos/gcallah/matplotlib/releases{/id}","created_at":"2015-09-23T15:18:50Z","updated_at":"2015-09-23T15:19:08Z","pushed_at":"2015-09-24T18:08:44Z","git_url":"git://github.com/gcallah/matplotlib.git","ssh_url":"git@github.com:gcallah/matplotlib.git","clone_url":"https://github.com/gcallah/matplotlib.git","svn_url":"https://github.com/gcallah/matplotlib","homepage":"http://matplotlib.org/","size":219477,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"matplotlib:master","ref":"master","sha":"39f01362195e239824240614033eb794a64d35bf","user":{"login":"matplotlib","id":215947,"avatar_url":"https://avatars.githubusercontent.com/u/215947?v=3","gravatar_id":"","url":"https://api.github.com/users/matplotlib","html_url":"https://github.com/matplotlib","followers_url":"https://api.github.com/users/matplotlib/followers","following_url":"https://api.github.com/users/matplotlib/following{/other_user}","gists_url":"https://api.github.com/users/matplotlib/gists{/gist_id}","starred_url":"https://api.github.com/users/matplotlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matplotlib/subscriptions","organizations_url":"https://api.github.com/users/matplotlib/orgs","repos_url":"https://api.github.com/users/matplotlib/repos","events_url":"https://api.github.com/users/matplotlib/events{/privacy}","received_events_url":"https://api.github.com/users/matplotlib/received_events","type":"Organization","site_admin":false},"repo":{"id":1385122,"name":"matplotlib","full_name":"matplotlib/matplotlib","owner":{"login":"matplotlib","id":215947,"avatar_url":"https://avatars.githubusercontent.com/u/215947?v=3","gravatar_id":"","url":"https://api.github.com/users/matplotlib","html_url":"https://github.com/matplotlib","followers_url":"https://api.github.com/users/matplotlib/followers","following_url":"https://api.github.com/users/matplotlib/following{/other_user}","gists_url":"https://api.github.com/users/matplotlib/gists{/gist_id}","starred_url":"https://api.github.com/users/matplotlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matplotlib/subscriptions","organizations_url":"https://api.github.com/users/matplotlib/orgs","repos_url":"https://api.github.com/users/matplotlib/repos","events_url":"https://api.github.com/users/matplotlib/events{/privacy}","received_events_url":"https://api.github.com/users/matplotlib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/matplotlib/matplotlib","description":"matplotlib: plotting with Python","fork":false,"url":"https://api.github.com/repos/matplotlib/matplotlib","forks_url":"https://api.github.com/repos/matplotlib/matplotlib/forks","keys_url":"https://api.github.com/repos/matplotlib/matplotlib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matplotlib/matplotlib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matplotlib/matplotlib/teams","hooks_url":"https://api.github.com/repos/matplotlib/matplotlib/hooks","issue_events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/events{/number}","events_url":"https://api.github.com/repos/matplotlib/matplotlib/events","assignees_url":"https://api.github.com/repos/matplotlib/matplotlib/assignees{/user}","branches_url":"https://api.github.com/repos/matplotlib/matplotlib/branches{/branch}","tags_url":"https://api.github.com/repos/matplotlib/matplotlib/tags","blobs_url":"https://api.github.com/repos/matplotlib/matplotlib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matplotlib/matplotlib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matplotlib/matplotlib/git/refs{/sha}","trees_url":"https://api.github.com/repos/matplotlib/matplotlib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matplotlib/matplotlib/statuses/{sha}","languages_url":"https://api.github.com/repos/matplotlib/matplotlib/languages","stargazers_url":"https://api.github.com/repos/matplotlib/matplotlib/stargazers","contributors_url":"https://api.github.com/repos/matplotlib/matplotlib/contributors","subscribers_url":"https://api.github.com/repos/matplotlib/matplotlib/subscribers","subscription_url":"https://api.github.com/repos/matplotlib/matplotlib/subscription","commits_url":"https://api.github.com/repos/matplotlib/matplotlib/commits{/sha}","git_commits_url":"https://api.github.com/repos/matplotlib/matplotlib/git/commits{/sha}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/comments{/number}","issue_comment_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments{/number}","contents_url":"https://api.github.com/repos/matplotlib/matplotlib/contents/{+path}","compare_url":"https://api.github.com/repos/matplotlib/matplotlib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matplotlib/matplotlib/merges","archive_url":"https://api.github.com/repos/matplotlib/matplotlib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matplotlib/matplotlib/downloads","issues_url":"https://api.github.com/repos/matplotlib/matplotlib/issues{/number}","pulls_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls{/number}","milestones_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones{/number}","notifications_url":"https://api.github.com/repos/matplotlib/matplotlib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/labels{/name}","releases_url":"https://api.github.com/repos/matplotlib/matplotlib/releases{/id}","created_at":"2011-02-19T03:17:12Z","updated_at":"2015-09-26T14:10:49Z","pushed_at":"2015-09-26T14:23:05Z","git_url":"git://github.com/matplotlib/matplotlib.git","ssh_url":"git@github.com:matplotlib/matplotlib.git","clone_url":"https://github.com/matplotlib/matplotlib.git","svn_url":"https://github.com/matplotlib/matplotlib","homepage":"http://matplotlib.org/","size":278130,"stargazers_count":2855,"watchers_count":2855,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1463,"mirror_url":null,"open_issues_count":657,"forks":1463,"open_issues":657,"watchers":2855,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/5147"},"html":{"href":"https://github.com/matplotlib/matplotlib/pull/5147"},"issue":{"href":"https://api.github.com/repos/matplotlib/matplotlib/issues/5147"},"comments":{"href":"https://api.github.com/repos/matplotlib/matplotlib/issues/5147/comments"},"review_comments":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/5147/comments"},"review_comment":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/5147/commits"},"statuses":{"href":"https://api.github.com/repos/matplotlib/matplotlib/statuses/237071c9163a2b8284edab3bb0389dccb1ecec25"}}}}