{"action":"created","comment":{"url":"https://api.github.com/repos/nens/colormaps/pulls/comments/141885650","pull_request_review_id":66173209,"id":141885650,"diff_hunk":"@@ -114,10 +117,22 @@ def __call__(self, data, limits=None):\n             rgba[~mask] = self.convert(array.compressed(), limits)\n         return rgba\n \n+    def get_legend_data(self, limits, steps):","path":"colormaps/core.py","position":21,"original_position":21,"commit_id":"ecf36739cd6cc2428bcf1788443c014815bf3b0e","original_commit_id":"45f6476faaf9cee2f4b5d3fbaa393c283356c46e","user":{"login":"remcogerlich","id":294656,"avatar_url":"https://avatars2.githubusercontent.com/u/294656?v=4","gravatar_id":"","url":"https://api.github.com/users/remcogerlich","html_url":"https://github.com/remcogerlich","followers_url":"https://api.github.com/users/remcogerlich/followers","following_url":"https://api.github.com/users/remcogerlich/following{/other_user}","gists_url":"https://api.github.com/users/remcogerlich/gists{/gist_id}","starred_url":"https://api.github.com/users/remcogerlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remcogerlich/subscriptions","organizations_url":"https://api.github.com/users/remcogerlich/orgs","repos_url":"https://api.github.com/users/remcogerlich/repos","events_url":"https://api.github.com/users/remcogerlich/events{/privacy}","received_events_url":"https://api.github.com/users/remcogerlich/received_events","type":"User","site_admin":false},"body":"Zodat we veilig kunnen aannemen dat de method bestaat? Kwestie defensief programmeren.","created_at":"2017-09-29T14:41:24Z","updated_at":"2017-09-29T14:41:24Z","html_url":"https://github.com/nens/colormaps/pull/6#discussion_r141885650","pull_request_url":"https://api.github.com/repos/nens/colormaps/pulls/6","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/nens/colormaps/pulls/comments/141885650"},"html":{"href":"https://github.com/nens/colormaps/pull/6#discussion_r141885650"},"pull_request":{"href":"https://api.github.com/repos/nens/colormaps/pulls/6"}},"in_reply_to_id":141847179},"pull_request":{"url":"https://api.github.com/repos/nens/colormaps/pulls/6","id":143644237,"html_url":"https://github.com/nens/colormaps/pull/6","diff_url":"https://github.com/nens/colormaps/pull/6.diff","patch_url":"https://github.com/nens/colormaps/pull/6.patch","issue_url":"https://api.github.com/repos/nens/colormaps/issues/6","number":6,"state":"open","locked":false,"title":"Add function to give range of numbers for legends, add colormap type …","user":{"login":"remcogerlich","id":294656,"avatar_url":"https://avatars2.githubusercontent.com/u/294656?v=4","gravatar_id":"","url":"https://api.github.com/users/remcogerlich","html_url":"https://github.com/remcogerlich","followers_url":"https://api.github.com/users/remcogerlich/followers","following_url":"https://api.github.com/users/remcogerlich/following{/other_user}","gists_url":"https://api.github.com/users/remcogerlich/gists{/gist_id}","starred_url":"https://api.github.com/users/remcogerlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remcogerlich/subscriptions","organizations_url":"https://api.github.com/users/remcogerlich/orgs","repos_url":"https://api.github.com/users/remcogerlich/repos","events_url":"https://api.github.com/users/remcogerlich/events{/privacy}","received_events_url":"https://api.github.com/users/remcogerlich/received_events","type":"User","site_admin":false},"body":"…descriptions","created_at":"2017-09-28T13:13:04Z","updated_at":"2017-09-29T14:41:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84e5cdb150f16f1e9a339d9254227dabdb5eeb23","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/nens/colormaps/pulls/6/commits","review_comments_url":"https://api.github.com/repos/nens/colormaps/pulls/6/comments","review_comment_url":"https://api.github.com/repos/nens/colormaps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nens/colormaps/issues/6/comments","statuses_url":"https://api.github.com/repos/nens/colormaps/statuses/ecf36739cd6cc2428bcf1788443c014815bf3b0e","head":{"label":"nens:remco-legends","ref":"remco-legends","sha":"ecf36739cd6cc2428bcf1788443c014815bf3b0e","user":{"login":"nens","id":826981,"avatar_url":"https://avatars0.githubusercontent.com/u/826981?v=4","gravatar_id":"","url":"https://api.github.com/users/nens","html_url":"https://github.com/nens","followers_url":"https://api.github.com/users/nens/followers","following_url":"https://api.github.com/users/nens/following{/other_user}","gists_url":"https://api.github.com/users/nens/gists{/gist_id}","starred_url":"https://api.github.com/users/nens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nens/subscriptions","organizations_url":"https://api.github.com/users/nens/orgs","repos_url":"https://api.github.com/users/nens/repos","events_url":"https://api.github.com/users/nens/events{/privacy}","received_events_url":"https://api.github.com/users/nens/received_events","type":"Organization","site_admin":false},"repo":{"id":18397970,"name":"colormaps","full_name":"nens/colormaps","owner":{"login":"nens","id":826981,"avatar_url":"https://avatars0.githubusercontent.com/u/826981?v=4","gravatar_id":"","url":"https://api.github.com/users/nens","html_url":"https://github.com/nens","followers_url":"https://api.github.com/users/nens/followers","following_url":"https://api.github.com/users/nens/following{/other_user}","gists_url":"https://api.github.com/users/nens/gists{/gist_id}","starred_url":"https://api.github.com/users/nens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nens/subscriptions","organizations_url":"https://api.github.com/users/nens/orgs","repos_url":"https://api.github.com/users/nens/repos","events_url":"https://api.github.com/users/nens/events{/privacy}","received_events_url":"https://api.github.com/users/nens/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nens/colormaps","description":"Fast and easy discrete and continuous colormaps.","fork":false,"url":"https://api.github.com/repos/nens/colormaps","forks_url":"https://api.github.com/repos/nens/colormaps/forks","keys_url":"https://api.github.com/repos/nens/colormaps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nens/colormaps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nens/colormaps/teams","hooks_url":"https://api.github.com/repos/nens/colormaps/hooks","issue_events_url":"https://api.github.com/repos/nens/colormaps/issues/events{/number}","events_url":"https://api.github.com/repos/nens/colormaps/events","assignees_url":"https://api.github.com/repos/nens/colormaps/assignees{/user}","branches_url":"https://api.github.com/repos/nens/colormaps/branches{/branch}","tags_url":"https://api.github.com/repos/nens/colormaps/tags","blobs_url":"https://api.github.com/repos/nens/colormaps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nens/colormaps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nens/colormaps/git/refs{/sha}","trees_url":"https://api.github.com/repos/nens/colormaps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nens/colormaps/statuses/{sha}","languages_url":"https://api.github.com/repos/nens/colormaps/languages","stargazers_url":"https://api.github.com/repos/nens/colormaps/stargazers","contributors_url":"https://api.github.com/repos/nens/colormaps/contributors","subscribers_url":"https://api.github.com/repos/nens/colormaps/subscribers","subscription_url":"https://api.github.com/repos/nens/colormaps/subscription","commits_url":"https://api.github.com/repos/nens/colormaps/commits{/sha}","git_commits_url":"https://api.github.com/repos/nens/colormaps/git/commits{/sha}","comments_url":"https://api.github.com/repos/nens/colormaps/comments{/number}","issue_comment_url":"https://api.github.com/repos/nens/colormaps/issues/comments{/number}","contents_url":"https://api.github.com/repos/nens/colormaps/contents/{+path}","compare_url":"https://api.github.com/repos/nens/colormaps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nens/colormaps/merges","archive_url":"https://api.github.com/repos/nens/colormaps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nens/colormaps/downloads","issues_url":"https://api.github.com/repos/nens/colormaps/issues{/number}","pulls_url":"https://api.github.com/repos/nens/colormaps/pulls{/number}","milestones_url":"https://api.github.com/repos/nens/colormaps/milestones{/number}","notifications_url":"https://api.github.com/repos/nens/colormaps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nens/colormaps/labels{/name}","releases_url":"https://api.github.com/repos/nens/colormaps/releases{/id}","deployments_url":"https://api.github.com/repos/nens/colormaps/deployments","created_at":"2014-04-03T09:35:41Z","updated_at":"2016-01-14T14:45:07Z","pushed_at":"2017-09-29T13:21:53Z","git_url":"git://github.com/nens/colormaps.git","ssh_url":"git@github.com:nens/colormaps.git","clone_url":"https://github.com/nens/colormaps.git","svn_url":"https://github.com/nens/colormaps","homepage":null,"size":151,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"nens:master","ref":"master","sha":"b9cd648d0035eaa02076f770026f1742f13a963d","user":{"login":"nens","id":826981,"avatar_url":"https://avatars0.githubusercontent.com/u/826981?v=4","gravatar_id":"","url":"https://api.github.com/users/nens","html_url":"https://github.com/nens","followers_url":"https://api.github.com/users/nens/followers","following_url":"https://api.github.com/users/nens/following{/other_user}","gists_url":"https://api.github.com/users/nens/gists{/gist_id}","starred_url":"https://api.github.com/users/nens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nens/subscriptions","organizations_url":"https://api.github.com/users/nens/orgs","repos_url":"https://api.github.com/users/nens/repos","events_url":"https://api.github.com/users/nens/events{/privacy}","received_events_url":"https://api.github.com/users/nens/received_events","type":"Organization","site_admin":false},"repo":{"id":18397970,"name":"colormaps","full_name":"nens/colormaps","owner":{"login":"nens","id":826981,"avatar_url":"https://avatars0.githubusercontent.com/u/826981?v=4","gravatar_id":"","url":"https://api.github.com/users/nens","html_url":"https://github.com/nens","followers_url":"https://api.github.com/users/nens/followers","following_url":"https://api.github.com/users/nens/following{/other_user}","gists_url":"https://api.github.com/users/nens/gists{/gist_id}","starred_url":"https://api.github.com/users/nens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nens/subscriptions","organizations_url":"https://api.github.com/users/nens/orgs","repos_url":"https://api.github.com/users/nens/repos","events_url":"https://api.github.com/users/nens/events{/privacy}","received_events_url":"https://api.github.com/users/nens/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nens/colormaps","description":"Fast and easy discrete and continuous colormaps.","fork":false,"url":"https://api.github.com/repos/nens/colormaps","forks_url":"https://api.github.com/repos/nens/colormaps/forks","keys_url":"https://api.github.com/repos/nens/colormaps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nens/colormaps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nens/colormaps/teams","hooks_url":"https://api.github.com/repos/nens/colormaps/hooks","issue_events_url":"https://api.github.com/repos/nens/colormaps/issues/events{/number}","events_url":"https://api.github.com/repos/nens/colormaps/events","assignees_url":"https://api.github.com/repos/nens/colormaps/assignees{/user}","branches_url":"https://api.github.com/repos/nens/colormaps/branches{/branch}","tags_url":"https://api.github.com/repos/nens/colormaps/tags","blobs_url":"https://api.github.com/repos/nens/colormaps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nens/colormaps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nens/colormaps/git/refs{/sha}","trees_url":"https://api.github.com/repos/nens/colormaps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nens/colormaps/statuses/{sha}","languages_url":"https://api.github.com/repos/nens/colormaps/languages","stargazers_url":"https://api.github.com/repos/nens/colormaps/stargazers","contributors_url":"https://api.github.com/repos/nens/colormaps/contributors","subscribers_url":"https://api.github.com/repos/nens/colormaps/subscribers","subscription_url":"https://api.github.com/repos/nens/colormaps/subscription","commits_url":"https://api.github.com/repos/nens/colormaps/commits{/sha}","git_commits_url":"https://api.github.com/repos/nens/colormaps/git/commits{/sha}","comments_url":"https://api.github.com/repos/nens/colormaps/comments{/number}","issue_comment_url":"https://api.github.com/repos/nens/colormaps/issues/comments{/number}","contents_url":"https://api.github.com/repos/nens/colormaps/contents/{+path}","compare_url":"https://api.github.com/repos/nens/colormaps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nens/colormaps/merges","archive_url":"https://api.github.com/repos/nens/colormaps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nens/colormaps/downloads","issues_url":"https://api.github.com/repos/nens/colormaps/issues{/number}","pulls_url":"https://api.github.com/repos/nens/colormaps/pulls{/number}","milestones_url":"https://api.github.com/repos/nens/colormaps/milestones{/number}","notifications_url":"https://api.github.com/repos/nens/colormaps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nens/colormaps/labels{/name}","releases_url":"https://api.github.com/repos/nens/colormaps/releases{/id}","deployments_url":"https://api.github.com/repos/nens/colormaps/deployments","created_at":"2014-04-03T09:35:41Z","updated_at":"2016-01-14T14:45:07Z","pushed_at":"2017-09-29T13:21:53Z","git_url":"git://github.com/nens/colormaps.git","ssh_url":"git@github.com:nens/colormaps.git","clone_url":"https://github.com/nens/colormaps.git","svn_url":"https://github.com/nens/colormaps","homepage":null,"size":151,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nens/colormaps/pulls/6"},"html":{"href":"https://github.com/nens/colormaps/pull/6"},"issue":{"href":"https://api.github.com/repos/nens/colormaps/issues/6"},"comments":{"href":"https://api.github.com/repos/nens/colormaps/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/nens/colormaps/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/nens/colormaps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nens/colormaps/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/nens/colormaps/statuses/ecf36739cd6cc2428bcf1788443c014815bf3b0e"}},"author_association":"NONE"}}
{"actor":{"display_login":"remcogerlich"}}