{"action":"created","comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments/35420869","id":35420869,"diff_hunk":"@@ -1,11 +1,10 @@\n-#!/usr/bin/env python\n \"\"\"\n Some people prefer to write more pythonic, object oriented, code","path":"examples/pylab_examples/pythonic_matplotlib.py","position":3,"original_position":3,"commit_id":"bc61194a20d4ee7f086c6634854d5deb040b773e","original_commit_id":"bc61194a20d4ee7f086c6634854d5deb040b773e","user":{"login":"WeatherGod","id":291576,"avatar_url":"https://avatars.githubusercontent.com/u/291576?v=3","gravatar_id":"","url":"https://api.github.com/users/WeatherGod","html_url":"https://github.com/WeatherGod","followers_url":"https://api.github.com/users/WeatherGod/followers","following_url":"https://api.github.com/users/WeatherGod/following{/other_user}","gists_url":"https://api.github.com/users/WeatherGod/gists{/gist_id}","starred_url":"https://api.github.com/users/WeatherGod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeatherGod/subscriptions","organizations_url":"https://api.github.com/users/WeatherGod/orgs","repos_url":"https://api.github.com/users/WeatherGod/repos","events_url":"https://api.github.com/users/WeatherGod/events{/privacy}","received_events_url":"https://api.github.com/users/WeatherGod/received_events","type":"User","site_admin":false},"body":"hyphen in \"object oriented\", and remove the comma in \"oriented, code\"","created_at":"2015-07-24T13:20:12Z","updated_at":"2015-07-24T13:20:12Z","html_url":"https://github.com/matplotlib/matplotlib/pull/4777#discussion_r35420869","pull_request_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4777","_links":{"self":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments/35420869"},"html":{"href":"https://github.com/matplotlib/matplotlib/pull/4777#discussion_r35420869"},"pull_request":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4777"}}},"pull_request":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4777","id":40733697,"html_url":"https://github.com/matplotlib/matplotlib/pull/4777","diff_url":"https://github.com/matplotlib/matplotlib/pull/4777.diff","patch_url":"https://github.com/matplotlib/matplotlib/pull/4777.patch","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4777","number":4777,"state":"open","locked":false,"title":"mep12 on pythonic_matplotlib.py","user":{"login":"ericmjl","id":2631566,"avatar_url":"https://avatars.githubusercontent.com/u/2631566?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmjl","html_url":"https://github.com/ericmjl","followers_url":"https://api.github.com/users/ericmjl/followers","following_url":"https://api.github.com/users/ericmjl/following{/other_user}","gists_url":"https://api.github.com/users/ericmjl/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmjl/subscriptions","organizations_url":"https://api.github.com/users/ericmjl/orgs","repos_url":"https://api.github.com/users/ericmjl/repos","events_url":"https://api.github.com/users/ericmjl/events{/privacy}","received_events_url":"https://api.github.com/users/ericmjl/received_events","type":"User","site_admin":false},"body":"I have intentionally left out changing all the function names from `function_name` to `plt.function_name()` or `np.function_name()`, as I think it's mostly the advanced user that will prefer to look at this example, and would know to trace the function names back to the correct import.","created_at":"2015-07-24T00:51:04Z","updated_at":"2015-07-24T13:20:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1728f28a8660b900d947cf54209de4e4aff022d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4777/commits","review_comments_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4777/comments","review_comment_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4777/comments","statuses_url":"https://api.github.com/repos/matplotlib/matplotlib/statuses/bc61194a20d4ee7f086c6634854d5deb040b773e","head":{"label":"ericmjl:mep12-pythonic_matplotlib.py","ref":"mep12-pythonic_matplotlib.py","sha":"bc61194a20d4ee7f086c6634854d5deb040b773e","user":{"login":"ericmjl","id":2631566,"avatar_url":"https://avatars.githubusercontent.com/u/2631566?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmjl","html_url":"https://github.com/ericmjl","followers_url":"https://api.github.com/users/ericmjl/followers","following_url":"https://api.github.com/users/ericmjl/following{/other_user}","gists_url":"https://api.github.com/users/ericmjl/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmjl/subscriptions","organizations_url":"https://api.github.com/users/ericmjl/orgs","repos_url":"https://api.github.com/users/ericmjl/repos","events_url":"https://api.github.com/users/ericmjl/events{/privacy}","received_events_url":"https://api.github.com/users/ericmjl/received_events","type":"User","site_admin":false},"repo":{"id":38930388,"name":"matplotlib","full_name":"ericmjl/matplotlib","owner":{"login":"ericmjl","id":2631566,"avatar_url":"https://avatars.githubusercontent.com/u/2631566?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmjl","html_url":"https://github.com/ericmjl","followers_url":"https://api.github.com/users/ericmjl/followers","following_url":"https://api.github.com/users/ericmjl/following{/other_user}","gists_url":"https://api.github.com/users/ericmjl/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmjl/subscriptions","organizations_url":"https://api.github.com/users/ericmjl/orgs","repos_url":"https://api.github.com/users/ericmjl/repos","events_url":"https://api.github.com/users/ericmjl/events{/privacy}","received_events_url":"https://api.github.com/users/ericmjl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericmjl/matplotlib","description":"matplotlib: plotting with Python","fork":true,"url":"https://api.github.com/repos/ericmjl/matplotlib","forks_url":"https://api.github.com/repos/ericmjl/matplotlib/forks","keys_url":"https://api.github.com/repos/ericmjl/matplotlib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericmjl/matplotlib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericmjl/matplotlib/teams","hooks_url":"https://api.github.com/repos/ericmjl/matplotlib/hooks","issue_events_url":"https://api.github.com/repos/ericmjl/matplotlib/issues/events{/number}","events_url":"https://api.github.com/repos/ericmjl/matplotlib/events","assignees_url":"https://api.github.com/repos/ericmjl/matplotlib/assignees{/user}","branches_url":"https://api.github.com/repos/ericmjl/matplotlib/branches{/branch}","tags_url":"https://api.github.com/repos/ericmjl/matplotlib/tags","blobs_url":"https://api.github.com/repos/ericmjl/matplotlib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericmjl/matplotlib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericmjl/matplotlib/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericmjl/matplotlib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericmjl/matplotlib/statuses/{sha}","languages_url":"https://api.github.com/repos/ericmjl/matplotlib/languages","stargazers_url":"https://api.github.com/repos/ericmjl/matplotlib/stargazers","contributors_url":"https://api.github.com/repos/ericmjl/matplotlib/contributors","subscribers_url":"https://api.github.com/repos/ericmjl/matplotlib/subscribers","subscription_url":"https://api.github.com/repos/ericmjl/matplotlib/subscription","commits_url":"https://api.github.com/repos/ericmjl/matplotlib/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericmjl/matplotlib/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericmjl/matplotlib/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericmjl/matplotlib/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericmjl/matplotlib/contents/{+path}","compare_url":"https://api.github.com/repos/ericmjl/matplotlib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericmjl/matplotlib/merges","archive_url":"https://api.github.com/repos/ericmjl/matplotlib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericmjl/matplotlib/downloads","issues_url":"https://api.github.com/repos/ericmjl/matplotlib/issues{/number}","pulls_url":"https://api.github.com/repos/ericmjl/matplotlib/pulls{/number}","milestones_url":"https://api.github.com/repos/ericmjl/matplotlib/milestones{/number}","notifications_url":"https://api.github.com/repos/ericmjl/matplotlib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericmjl/matplotlib/labels{/name}","releases_url":"https://api.github.com/repos/ericmjl/matplotlib/releases{/id}","created_at":"2015-07-11T15:27:52Z","updated_at":"2015-07-11T15:27:59Z","pushed_at":"2015-07-24T13:12:45Z","git_url":"git://github.com/ericmjl/matplotlib.git","ssh_url":"git@github.com:ericmjl/matplotlib.git","clone_url":"https://github.com/ericmjl/matplotlib.git","svn_url":"https://github.com/ericmjl/matplotlib","homepage":"http://matplotlib.org/","size":216020,"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":"f7a578656abc2b2c138c7295cc30cd8d9f01b1ad","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-07-24T07:08:11Z","pushed_at":"2015-07-24T13:12:20Z","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":274129,"stargazers_count":2677,"watchers_count":2677,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1374,"mirror_url":null,"open_issues_count":574,"forks":1374,"open_issues":574,"watchers":2677,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4777"},"html":{"href":"https://github.com/matplotlib/matplotlib/pull/4777"},"issue":{"href":"https://api.github.com/repos/matplotlib/matplotlib/issues/4777"},"comments":{"href":"https://api.github.com/repos/matplotlib/matplotlib/issues/4777/comments"},"review_comments":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4777/comments"},"review_comment":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4777/commits"},"statuses":{"href":"https://api.github.com/repos/matplotlib/matplotlib/statuses/bc61194a20d4ee7f086c6634854d5deb040b773e"}}}}