{"action":"closed","number":30,"pull_request":{"url":"https://api.github.com/repos/ipython-books/cookbook-code/pulls/30","id":59310179,"html_url":"https://github.com/ipython-books/cookbook-code/pull/30","diff_url":"https://github.com/ipython-books/cookbook-code/pull/30.diff","patch_url":"https://github.com/ipython-books/cookbook-code/pull/30.patch","issue_url":"https://api.github.com/repos/ipython-books/cookbook-code/issues/30","number":30,"state":"closed","locked":false,"title":"Upgraded Chapter 01 Recipe 06 to IPython 4.0.0","user":{"login":"BCSharp","id":2866972,"avatar_url":"https://avatars.githubusercontent.com/u/2866972?v=3","gravatar_id":"","url":"https://api.github.com/users/BCSharp","html_url":"https://github.com/BCSharp","followers_url":"https://api.github.com/users/BCSharp/followers","following_url":"https://api.github.com/users/BCSharp/following{/other_user}","gists_url":"https://api.github.com/users/BCSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/BCSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BCSharp/subscriptions","organizations_url":"https://api.github.com/users/BCSharp/orgs","repos_url":"https://api.github.com/users/BCSharp/repos","events_url":"https://api.github.com/users/BCSharp/events{/privacy}","received_events_url":"https://api.github.com/users/BCSharp/received_events","type":"User","site_admin":false},"body":"*Please note:*\r\nThis recipe is about custom kernels but since IPython 4 comes with the Big Split into Jupyter and the rest of IPython, the upgrade changes here are more substantial. I have tested the changes on OS X and Windows 10 (with Anaconda).\r\n\r\nSince I was already changing much, I also took the liberty to fix the recipe steps numbering (markdown was numbering every step as 1.) and syntax highlighting of Python snippets.\r\n\r\n @rossant, please let me know if this is OK. I put the updates on a separate branch in case more fixups are needed.\r\n","created_at":"2016-02-14T23:44:32Z","updated_at":"2016-02-27T00:03:59Z","closed_at":"2016-02-27T00:03:59Z","merged_at":"2016-02-27T00:03:59Z","merge_commit_sha":"d35b75658fb531218b0ea4ec10be0f0b5b7f9e74","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ipython-books/cookbook-code/pulls/30/commits","review_comments_url":"https://api.github.com/repos/ipython-books/cookbook-code/pulls/30/comments","review_comment_url":"https://api.github.com/repos/ipython-books/cookbook-code/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ipython-books/cookbook-code/issues/30/comments","statuses_url":"https://api.github.com/repos/ipython-books/cookbook-code/statuses/78f046a2f950616293c2c62ce8223b10cb386aca","head":{"label":"BCSharp:ipython4_ch01_rcp06","ref":"ipython4_ch01_rcp06","sha":"78f046a2f950616293c2c62ce8223b10cb386aca","user":{"login":"BCSharp","id":2866972,"avatar_url":"https://avatars.githubusercontent.com/u/2866972?v=3","gravatar_id":"","url":"https://api.github.com/users/BCSharp","html_url":"https://github.com/BCSharp","followers_url":"https://api.github.com/users/BCSharp/followers","following_url":"https://api.github.com/users/BCSharp/following{/other_user}","gists_url":"https://api.github.com/users/BCSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/BCSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BCSharp/subscriptions","organizations_url":"https://api.github.com/users/BCSharp/orgs","repos_url":"https://api.github.com/users/BCSharp/repos","events_url":"https://api.github.com/users/BCSharp/events{/privacy}","received_events_url":"https://api.github.com/users/BCSharp/received_events","type":"User","site_admin":false},"repo":{"id":51226461,"name":"cookbook-code","full_name":"BCSharp/cookbook-code","owner":{"login":"BCSharp","id":2866972,"avatar_url":"https://avatars.githubusercontent.com/u/2866972?v=3","gravatar_id":"","url":"https://api.github.com/users/BCSharp","html_url":"https://github.com/BCSharp","followers_url":"https://api.github.com/users/BCSharp/followers","following_url":"https://api.github.com/users/BCSharp/following{/other_user}","gists_url":"https://api.github.com/users/BCSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/BCSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BCSharp/subscriptions","organizations_url":"https://api.github.com/users/BCSharp/orgs","repos_url":"https://api.github.com/users/BCSharp/repos","events_url":"https://api.github.com/users/BCSharp/events{/privacy}","received_events_url":"https://api.github.com/users/BCSharp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BCSharp/cookbook-code","description":"Recipes of the IPython Cookbook, the definitive guide to high-performance scientific computing and data science in Python","fork":true,"url":"https://api.github.com/repos/BCSharp/cookbook-code","forks_url":"https://api.github.com/repos/BCSharp/cookbook-code/forks","keys_url":"https://api.github.com/repos/BCSharp/cookbook-code/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BCSharp/cookbook-code/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BCSharp/cookbook-code/teams","hooks_url":"https://api.github.com/repos/BCSharp/cookbook-code/hooks","issue_events_url":"https://api.github.com/repos/BCSharp/cookbook-code/issues/events{/number}","events_url":"https://api.github.com/repos/BCSharp/cookbook-code/events","assignees_url":"https://api.github.com/repos/BCSharp/cookbook-code/assignees{/user}","branches_url":"https://api.github.com/repos/BCSharp/cookbook-code/branches{/branch}","tags_url":"https://api.github.com/repos/BCSharp/cookbook-code/tags","blobs_url":"https://api.github.com/repos/BCSharp/cookbook-code/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BCSharp/cookbook-code/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BCSharp/cookbook-code/git/refs{/sha}","trees_url":"https://api.github.com/repos/BCSharp/cookbook-code/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BCSharp/cookbook-code/statuses/{sha}","languages_url":"https://api.github.com/repos/BCSharp/cookbook-code/languages","stargazers_url":"https://api.github.com/repos/BCSharp/cookbook-code/stargazers","contributors_url":"https://api.github.com/repos/BCSharp/cookbook-code/contributors","subscribers_url":"https://api.github.com/repos/BCSharp/cookbook-code/subscribers","subscription_url":"https://api.github.com/repos/BCSharp/cookbook-code/subscription","commits_url":"https://api.github.com/repos/BCSharp/cookbook-code/commits{/sha}","git_commits_url":"https://api.github.com/repos/BCSharp/cookbook-code/git/commits{/sha}","comments_url":"https://api.github.com/repos/BCSharp/cookbook-code/comments{/number}","issue_comment_url":"https://api.github.com/repos/BCSharp/cookbook-code/issues/comments{/number}","contents_url":"https://api.github.com/repos/BCSharp/cookbook-code/contents/{+path}","compare_url":"https://api.github.com/repos/BCSharp/cookbook-code/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BCSharp/cookbook-code/merges","archive_url":"https://api.github.com/repos/BCSharp/cookbook-code/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BCSharp/cookbook-code/downloads","issues_url":"https://api.github.com/repos/BCSharp/cookbook-code/issues{/number}","pulls_url":"https://api.github.com/repos/BCSharp/cookbook-code/pulls{/number}","milestones_url":"https://api.github.com/repos/BCSharp/cookbook-code/milestones{/number}","notifications_url":"https://api.github.com/repos/BCSharp/cookbook-code/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BCSharp/cookbook-code/labels{/name}","releases_url":"https://api.github.com/repos/BCSharp/cookbook-code/releases{/id}","deployments_url":"https://api.github.com/repos/BCSharp/cookbook-code/deployments","created_at":"2016-02-06T23:04:43Z","updated_at":"2016-02-25T13:20:39Z","pushed_at":"2016-02-25T20:50:01Z","git_url":"git://github.com/BCSharp/cookbook-code.git","ssh_url":"git@github.com:BCSharp/cookbook-code.git","clone_url":"https://github.com/BCSharp/cookbook-code.git","svn_url":"https://github.com/BCSharp/cookbook-code","homepage":"ipython-books.github.io/cookbook/","size":3329,"stargazers_count":1,"watchers_count":1,"language":"Jupyter Notebook","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"ipython-books:master","ref":"master","sha":"97d0b897259eea2f6581b02e0f6733071de3c0e5","user":{"login":"ipython-books","id":5789095,"avatar_url":"https://avatars.githubusercontent.com/u/5789095?v=3","gravatar_id":"","url":"https://api.github.com/users/ipython-books","html_url":"https://github.com/ipython-books","followers_url":"https://api.github.com/users/ipython-books/followers","following_url":"https://api.github.com/users/ipython-books/following{/other_user}","gists_url":"https://api.github.com/users/ipython-books/gists{/gist_id}","starred_url":"https://api.github.com/users/ipython-books/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipython-books/subscriptions","organizations_url":"https://api.github.com/users/ipython-books/orgs","repos_url":"https://api.github.com/users/ipython-books/repos","events_url":"https://api.github.com/users/ipython-books/events{/privacy}","received_events_url":"https://api.github.com/users/ipython-books/received_events","type":"Organization","site_admin":false},"repo":{"id":13955959,"name":"cookbook-code","full_name":"ipython-books/cookbook-code","owner":{"login":"ipython-books","id":5789095,"avatar_url":"https://avatars.githubusercontent.com/u/5789095?v=3","gravatar_id":"","url":"https://api.github.com/users/ipython-books","html_url":"https://github.com/ipython-books","followers_url":"https://api.github.com/users/ipython-books/followers","following_url":"https://api.github.com/users/ipython-books/following{/other_user}","gists_url":"https://api.github.com/users/ipython-books/gists{/gist_id}","starred_url":"https://api.github.com/users/ipython-books/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipython-books/subscriptions","organizations_url":"https://api.github.com/users/ipython-books/orgs","repos_url":"https://api.github.com/users/ipython-books/repos","events_url":"https://api.github.com/users/ipython-books/events{/privacy}","received_events_url":"https://api.github.com/users/ipython-books/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipython-books/cookbook-code","description":"Recipes of the IPython Cookbook, the definitive guide to high-performance scientific computing and data science in Python","fork":false,"url":"https://api.github.com/repos/ipython-books/cookbook-code","forks_url":"https://api.github.com/repos/ipython-books/cookbook-code/forks","keys_url":"https://api.github.com/repos/ipython-books/cookbook-code/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipython-books/cookbook-code/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipython-books/cookbook-code/teams","hooks_url":"https://api.github.com/repos/ipython-books/cookbook-code/hooks","issue_events_url":"https://api.github.com/repos/ipython-books/cookbook-code/issues/events{/number}","events_url":"https://api.github.com/repos/ipython-books/cookbook-code/events","assignees_url":"https://api.github.com/repos/ipython-books/cookbook-code/assignees{/user}","branches_url":"https://api.github.com/repos/ipython-books/cookbook-code/branches{/branch}","tags_url":"https://api.github.com/repos/ipython-books/cookbook-code/tags","blobs_url":"https://api.github.com/repos/ipython-books/cookbook-code/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipython-books/cookbook-code/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipython-books/cookbook-code/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipython-books/cookbook-code/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipython-books/cookbook-code/statuses/{sha}","languages_url":"https://api.github.com/repos/ipython-books/cookbook-code/languages","stargazers_url":"https://api.github.com/repos/ipython-books/cookbook-code/stargazers","contributors_url":"https://api.github.com/repos/ipython-books/cookbook-code/contributors","subscribers_url":"https://api.github.com/repos/ipython-books/cookbook-code/subscribers","subscription_url":"https://api.github.com/repos/ipython-books/cookbook-code/subscription","commits_url":"https://api.github.com/repos/ipython-books/cookbook-code/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipython-books/cookbook-code/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipython-books/cookbook-code/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipython-books/cookbook-code/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipython-books/cookbook-code/contents/{+path}","compare_url":"https://api.github.com/repos/ipython-books/cookbook-code/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipython-books/cookbook-code/merges","archive_url":"https://api.github.com/repos/ipython-books/cookbook-code/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipython-books/cookbook-code/downloads","issues_url":"https://api.github.com/repos/ipython-books/cookbook-code/issues{/number}","pulls_url":"https://api.github.com/repos/ipython-books/cookbook-code/pulls{/number}","milestones_url":"https://api.github.com/repos/ipython-books/cookbook-code/milestones{/number}","notifications_url":"https://api.github.com/repos/ipython-books/cookbook-code/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipython-books/cookbook-code/labels{/name}","releases_url":"https://api.github.com/repos/ipython-books/cookbook-code/releases{/id}","deployments_url":"https://api.github.com/repos/ipython-books/cookbook-code/deployments","created_at":"2013-10-29T13:03:16Z","updated_at":"2016-02-26T22:03:40Z","pushed_at":"2016-02-27T00:03:59Z","git_url":"git://github.com/ipython-books/cookbook-code.git","ssh_url":"git@github.com:ipython-books/cookbook-code.git","clone_url":"https://github.com/ipython-books/cookbook-code.git","svn_url":"https://github.com/ipython-books/cookbook-code","homepage":"ipython-books.github.io/cookbook/","size":3424,"stargazers_count":578,"watchers_count":578,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":220,"mirror_url":null,"open_issues_count":16,"forks":220,"open_issues":16,"watchers":578,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ipython-books/cookbook-code/pulls/30"},"html":{"href":"https://github.com/ipython-books/cookbook-code/pull/30"},"issue":{"href":"https://api.github.com/repos/ipython-books/cookbook-code/issues/30"},"comments":{"href":"https://api.github.com/repos/ipython-books/cookbook-code/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/ipython-books/cookbook-code/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/ipython-books/cookbook-code/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ipython-books/cookbook-code/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/ipython-books/cookbook-code/statuses/78f046a2f950616293c2c62ce8223b10cb386aca"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"BCSharp","id":2866972,"avatar_url":"https://avatars.githubusercontent.com/u/2866972?v=3","gravatar_id":"","url":"https://api.github.com/users/BCSharp","html_url":"https://github.com/BCSharp","followers_url":"https://api.github.com/users/BCSharp/followers","following_url":"https://api.github.com/users/BCSharp/following{/other_user}","gists_url":"https://api.github.com/users/BCSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/BCSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BCSharp/subscriptions","organizations_url":"https://api.github.com/users/BCSharp/orgs","repos_url":"https://api.github.com/users/BCSharp/repos","events_url":"https://api.github.com/users/BCSharp/events{/privacy}","received_events_url":"https://api.github.com/users/BCSharp/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":110,"deletions":31,"changed_files":1}}