{"action":"opened","number":4174,"pull_request":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4174","id":30186844,"html_url":"https://github.com/matplotlib/matplotlib/pull/4174","diff_url":"https://github.com/matplotlib/matplotlib/pull/4174.diff","patch_url":"https://github.com/matplotlib/matplotlib/pull/4174.patch","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4174","number":4174,"state":"open","locked":false,"title":"ENH: speed-up mlab.contiguous_regions using numpy","user":{"login":"jaimefrio","id":3343990,"avatar_url":"https://avatars.githubusercontent.com/u/3343990?v=3","gravatar_id":"","url":"https://api.github.com/users/jaimefrio","html_url":"https://github.com/jaimefrio","followers_url":"https://api.github.com/users/jaimefrio/followers","following_url":"https://api.github.com/users/jaimefrio/following{/other_user}","gists_url":"https://api.github.com/users/jaimefrio/gists{/gist_id}","starred_url":"https://api.github.com/users/jaimefrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaimefrio/subscriptions","organizations_url":"https://api.github.com/users/jaimefrio/orgs","repos_url":"https://api.github.com/users/jaimefrio/repos","events_url":"https://api.github.com/users/jaimefrio/events{/privacy}","received_events_url":"https://api.github.com/users/jaimefrio/received_events","type":"User","site_admin":false},"body":"The docstring was asking for it, so here it goes. Added some tests as well.","created_at":"2015-02-27T17:58:54Z","updated_at":"2015-02-27T17:58:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"994b2a794de1d2b58e0f11d4068c9b88a8948f69","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4174/commits","review_comments_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4174/comments","review_comment_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4174/comments","statuses_url":"https://api.github.com/repos/matplotlib/matplotlib/statuses/9d648ac3271a3bced89c507c742ca8f8fcaa6fef","head":{"label":"jaimefrio:contiguous_regions","ref":"contiguous_regions","sha":"9d648ac3271a3bced89c507c742ca8f8fcaa6fef","user":{"login":"jaimefrio","id":3343990,"avatar_url":"https://avatars.githubusercontent.com/u/3343990?v=3","gravatar_id":"","url":"https://api.github.com/users/jaimefrio","html_url":"https://github.com/jaimefrio","followers_url":"https://api.github.com/users/jaimefrio/followers","following_url":"https://api.github.com/users/jaimefrio/following{/other_user}","gists_url":"https://api.github.com/users/jaimefrio/gists{/gist_id}","starred_url":"https://api.github.com/users/jaimefrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaimefrio/subscriptions","organizations_url":"https://api.github.com/users/jaimefrio/orgs","repos_url":"https://api.github.com/users/jaimefrio/repos","events_url":"https://api.github.com/users/jaimefrio/events{/privacy}","received_events_url":"https://api.github.com/users/jaimefrio/received_events","type":"User","site_admin":false},"repo":{"id":31419106,"name":"matplotlib","full_name":"jaimefrio/matplotlib","owner":{"login":"jaimefrio","id":3343990,"avatar_url":"https://avatars.githubusercontent.com/u/3343990?v=3","gravatar_id":"","url":"https://api.github.com/users/jaimefrio","html_url":"https://github.com/jaimefrio","followers_url":"https://api.github.com/users/jaimefrio/followers","following_url":"https://api.github.com/users/jaimefrio/following{/other_user}","gists_url":"https://api.github.com/users/jaimefrio/gists{/gist_id}","starred_url":"https://api.github.com/users/jaimefrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaimefrio/subscriptions","organizations_url":"https://api.github.com/users/jaimefrio/orgs","repos_url":"https://api.github.com/users/jaimefrio/repos","events_url":"https://api.github.com/users/jaimefrio/events{/privacy}","received_events_url":"https://api.github.com/users/jaimefrio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaimefrio/matplotlib","description":"matplotlib: plotting with Python","fork":true,"url":"https://api.github.com/repos/jaimefrio/matplotlib","forks_url":"https://api.github.com/repos/jaimefrio/matplotlib/forks","keys_url":"https://api.github.com/repos/jaimefrio/matplotlib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaimefrio/matplotlib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaimefrio/matplotlib/teams","hooks_url":"https://api.github.com/repos/jaimefrio/matplotlib/hooks","issue_events_url":"https://api.github.com/repos/jaimefrio/matplotlib/issues/events{/number}","events_url":"https://api.github.com/repos/jaimefrio/matplotlib/events","assignees_url":"https://api.github.com/repos/jaimefrio/matplotlib/assignees{/user}","branches_url":"https://api.github.com/repos/jaimefrio/matplotlib/branches{/branch}","tags_url":"https://api.github.com/repos/jaimefrio/matplotlib/tags","blobs_url":"https://api.github.com/repos/jaimefrio/matplotlib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaimefrio/matplotlib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaimefrio/matplotlib/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaimefrio/matplotlib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaimefrio/matplotlib/statuses/{sha}","languages_url":"https://api.github.com/repos/jaimefrio/matplotlib/languages","stargazers_url":"https://api.github.com/repos/jaimefrio/matplotlib/stargazers","contributors_url":"https://api.github.com/repos/jaimefrio/matplotlib/contributors","subscribers_url":"https://api.github.com/repos/jaimefrio/matplotlib/subscribers","subscription_url":"https://api.github.com/repos/jaimefrio/matplotlib/subscription","commits_url":"https://api.github.com/repos/jaimefrio/matplotlib/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaimefrio/matplotlib/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaimefrio/matplotlib/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaimefrio/matplotlib/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaimefrio/matplotlib/contents/{+path}","compare_url":"https://api.github.com/repos/jaimefrio/matplotlib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaimefrio/matplotlib/merges","archive_url":"https://api.github.com/repos/jaimefrio/matplotlib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaimefrio/matplotlib/downloads","issues_url":"https://api.github.com/repos/jaimefrio/matplotlib/issues{/number}","pulls_url":"https://api.github.com/repos/jaimefrio/matplotlib/pulls{/number}","milestones_url":"https://api.github.com/repos/jaimefrio/matplotlib/milestones{/number}","notifications_url":"https://api.github.com/repos/jaimefrio/matplotlib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaimefrio/matplotlib/labels{/name}","releases_url":"https://api.github.com/repos/jaimefrio/matplotlib/releases{/id}","created_at":"2015-02-27T12:54:45Z","updated_at":"2015-02-27T16:47:05Z","pushed_at":"2015-02-27T17:56:41Z","git_url":"git://github.com/jaimefrio/matplotlib.git","ssh_url":"git@github.com:jaimefrio/matplotlib.git","clone_url":"https://github.com/jaimefrio/matplotlib.git","svn_url":"https://github.com/jaimefrio/matplotlib","homepage":"http://matplotlib.org/","size":209777,"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":"13a8f310b78d575850a1d080f205f964231b766a","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-02-27T17:27:32Z","pushed_at":"2015-02-27T13:33:21Z","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":259721,"stargazers_count":2283,"watchers_count":2283,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1147,"mirror_url":null,"open_issues_count":469,"forks":1147,"open_issues":469,"watchers":2283,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4174"},"html":{"href":"https://github.com/matplotlib/matplotlib/pull/4174"},"issue":{"href":"https://api.github.com/repos/matplotlib/matplotlib/issues/4174"},"comments":{"href":"https://api.github.com/repos/matplotlib/matplotlib/issues/4174/comments"},"review_comments":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4174/comments"},"review_comment":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4174/commits"},"statuses":{"href":"https://api.github.com/repos/matplotlib/matplotlib/statuses/9d648ac3271a3bced89c507c742ca8f8fcaa6fef"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":31,"deletions":14,"changed_files":2}}