{"action":"created","comment":{"url":"https://api.github.com/repos/ioam/holoviews/pulls/comments/81833360","pull_request_review_id":2784647,"id":81833360,"diff_hunk":"@@ -68,74 +69,91 @@ def dataset_pipeline(dataset, schema, canvas, glyph, summary):\n \n \n class Aggregate(ElementOperation):\n+    \"\"\"\n+    Aggregate implements 2D binning for any valid HoloViews Element\n+    type using datashader. By default it will simply count the number\n+    of values in each bin but custom aggregators can be supplied\n+    implementing mean, max, min and other reduction operations.","path":"holoviews/operation/datashader.py","position":76,"original_position":16,"commit_id":"d5fc73464398330cd346e610f1dc1dac1bfff0bc","original_commit_id":"d5fc73464398330cd346e610f1dc1dac1bfff0bc","user":{"login":"jbednar","id":1695496,"avatar_url":"https://avatars.githubusercontent.com/u/1695496?v=3","gravatar_id":"","url":"https://api.github.com/users/jbednar","html_url":"https://github.com/jbednar","followers_url":"https://api.github.com/users/jbednar/followers","following_url":"https://api.github.com/users/jbednar/following{/other_user}","gists_url":"https://api.github.com/users/jbednar/gists{/gist_id}","starred_url":"https://api.github.com/users/jbednar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbednar/subscriptions","organizations_url":"https://api.github.com/users/jbednar/orgs","repos_url":"https://api.github.com/users/jbednar/repos","events_url":"https://api.github.com/users/jbednar/events{/privacy}","received_events_url":"https://api.github.com/users/jbednar/received_events","type":"User","site_admin":false},"body":"I wouldn't call them \"custom\"; they are just other aggregators.  So maybe \"bin but other aggregators can be supplied explicitly\".","created_at":"2016-10-04T19:23:29Z","updated_at":"2016-10-04T19:23:29Z","html_url":"https://github.com/ioam/holoviews/pull/894#discussion_r81833360","pull_request_url":"https://api.github.com/repos/ioam/holoviews/pulls/894","_links":{"self":{"href":"https://api.github.com/repos/ioam/holoviews/pulls/comments/81833360"},"html":{"href":"https://github.com/ioam/holoviews/pull/894#discussion_r81833360"},"pull_request":{"href":"https://api.github.com/repos/ioam/holoviews/pulls/894"}}},"pull_request":{"url":"https://api.github.com/repos/ioam/holoviews/pulls/894","id":87894745,"html_url":"https://github.com/ioam/holoviews/pull/894","diff_url":"https://github.com/ioam/holoviews/pull/894.diff","patch_url":"https://github.com/ioam/holoviews/pull/894.patch","issue_url":"https://api.github.com/repos/ioam/holoviews/issues/894","number":894,"state":"open","locked":false,"title":"Add Datashader operations","user":{"login":"philippjfr","id":1550771,"avatar_url":"https://avatars.githubusercontent.com/u/1550771?v=3","gravatar_id":"","url":"https://api.github.com/users/philippjfr","html_url":"https://github.com/philippjfr","followers_url":"https://api.github.com/users/philippjfr/followers","following_url":"https://api.github.com/users/philippjfr/following{/other_user}","gists_url":"https://api.github.com/users/philippjfr/gists{/gist_id}","starred_url":"https://api.github.com/users/philippjfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippjfr/subscriptions","organizations_url":"https://api.github.com/users/philippjfr/orgs","repos_url":"https://api.github.com/users/philippjfr/repos","events_url":"https://api.github.com/users/philippjfr/events{/privacy}","received_events_url":"https://api.github.com/users/philippjfr/received_events","type":"User","site_admin":false},"body":"As suggested in #812 this adds datashader operations to HoloViews, making it trivial to aggregate any Element type into an Image or stack of images and then shade it. The PR currently adds two main operations:\r\n\r\n* Aggregate: Takes any 2D dataset with or without values and generates a ``GridImage`` aggregate wrapping an xarray DataArray.\r\n* Shade: Takes the output of an aggregate and applies color interpolation and a transfer function ('linear', 'log', 'eq_hist'), returning an RGB element.\r\n\r\nI've not yet written docstrings or any tests yet, but I do have the initial skeleton of a tutorial: https://anaconda.org/philippjfr/holoviews_datashader/notebook","created_at":"2016-10-04T13:33:31Z","updated_at":"2016-10-04T19:23:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3c881224547ce5570c57e117f3cbd98318e9670","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ioam/holoviews/pulls/894/commits","review_comments_url":"https://api.github.com/repos/ioam/holoviews/pulls/894/comments","review_comment_url":"https://api.github.com/repos/ioam/holoviews/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ioam/holoviews/issues/894/comments","statuses_url":"https://api.github.com/repos/ioam/holoviews/statuses/d5fc73464398330cd346e610f1dc1dac1bfff0bc","head":{"label":"ioam:datashader","ref":"datashader","sha":"d5fc73464398330cd346e610f1dc1dac1bfff0bc","user":{"login":"ioam","id":1693676,"avatar_url":"https://avatars.githubusercontent.com/u/1693676?v=3","gravatar_id":"","url":"https://api.github.com/users/ioam","html_url":"https://github.com/ioam","followers_url":"https://api.github.com/users/ioam/followers","following_url":"https://api.github.com/users/ioam/following{/other_user}","gists_url":"https://api.github.com/users/ioam/gists{/gist_id}","starred_url":"https://api.github.com/users/ioam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ioam/subscriptions","organizations_url":"https://api.github.com/users/ioam/orgs","repos_url":"https://api.github.com/users/ioam/repos","events_url":"https://api.github.com/users/ioam/events{/privacy}","received_events_url":"https://api.github.com/users/ioam/received_events","type":"Organization","site_admin":false},"repo":{"id":19542768,"name":"holoviews","full_name":"ioam/holoviews","owner":{"login":"ioam","id":1693676,"avatar_url":"https://avatars.githubusercontent.com/u/1693676?v=3","gravatar_id":"","url":"https://api.github.com/users/ioam","html_url":"https://github.com/ioam","followers_url":"https://api.github.com/users/ioam/followers","following_url":"https://api.github.com/users/ioam/following{/other_user}","gists_url":"https://api.github.com/users/ioam/gists{/gist_id}","starred_url":"https://api.github.com/users/ioam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ioam/subscriptions","organizations_url":"https://api.github.com/users/ioam/orgs","repos_url":"https://api.github.com/users/ioam/repos","events_url":"https://api.github.com/users/ioam/events{/privacy}","received_events_url":"https://api.github.com/users/ioam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ioam/holoviews","description":"Stop plotting your data - annotate your data and let it visualize itself","fork":false,"url":"https://api.github.com/repos/ioam/holoviews","forks_url":"https://api.github.com/repos/ioam/holoviews/forks","keys_url":"https://api.github.com/repos/ioam/holoviews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ioam/holoviews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ioam/holoviews/teams","hooks_url":"https://api.github.com/repos/ioam/holoviews/hooks","issue_events_url":"https://api.github.com/repos/ioam/holoviews/issues/events{/number}","events_url":"https://api.github.com/repos/ioam/holoviews/events","assignees_url":"https://api.github.com/repos/ioam/holoviews/assignees{/user}","branches_url":"https://api.github.com/repos/ioam/holoviews/branches{/branch}","tags_url":"https://api.github.com/repos/ioam/holoviews/tags","blobs_url":"https://api.github.com/repos/ioam/holoviews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ioam/holoviews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ioam/holoviews/git/refs{/sha}","trees_url":"https://api.github.com/repos/ioam/holoviews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ioam/holoviews/statuses/{sha}","languages_url":"https://api.github.com/repos/ioam/holoviews/languages","stargazers_url":"https://api.github.com/repos/ioam/holoviews/stargazers","contributors_url":"https://api.github.com/repos/ioam/holoviews/contributors","subscribers_url":"https://api.github.com/repos/ioam/holoviews/subscribers","subscription_url":"https://api.github.com/repos/ioam/holoviews/subscription","commits_url":"https://api.github.com/repos/ioam/holoviews/commits{/sha}","git_commits_url":"https://api.github.com/repos/ioam/holoviews/git/commits{/sha}","comments_url":"https://api.github.com/repos/ioam/holoviews/comments{/number}","issue_comment_url":"https://api.github.com/repos/ioam/holoviews/issues/comments{/number}","contents_url":"https://api.github.com/repos/ioam/holoviews/contents/{+path}","compare_url":"https://api.github.com/repos/ioam/holoviews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ioam/holoviews/merges","archive_url":"https://api.github.com/repos/ioam/holoviews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ioam/holoviews/downloads","issues_url":"https://api.github.com/repos/ioam/holoviews/issues{/number}","pulls_url":"https://api.github.com/repos/ioam/holoviews/pulls{/number}","milestones_url":"https://api.github.com/repos/ioam/holoviews/milestones{/number}","notifications_url":"https://api.github.com/repos/ioam/holoviews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ioam/holoviews/labels{/name}","releases_url":"https://api.github.com/repos/ioam/holoviews/releases{/id}","deployments_url":"https://api.github.com/repos/ioam/holoviews/deployments","created_at":"2014-05-07T16:59:22Z","updated_at":"2016-10-04T14:02:18Z","pushed_at":"2016-10-04T18:48:25Z","git_url":"git://github.com/ioam/holoviews.git","ssh_url":"git@github.com:ioam/holoviews.git","clone_url":"https://github.com/ioam/holoviews.git","svn_url":"https://github.com/ioam/holoviews","homepage":"http://holoviews.org","size":9918,"stargazers_count":296,"watchers_count":296,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":204,"forks":41,"open_issues":204,"watchers":296,"default_branch":"master"}},"base":{"label":"ioam:master","ref":"master","sha":"9209cd39ce92ac27dd96f1f579a6a890b4a0274a","user":{"login":"ioam","id":1693676,"avatar_url":"https://avatars.githubusercontent.com/u/1693676?v=3","gravatar_id":"","url":"https://api.github.com/users/ioam","html_url":"https://github.com/ioam","followers_url":"https://api.github.com/users/ioam/followers","following_url":"https://api.github.com/users/ioam/following{/other_user}","gists_url":"https://api.github.com/users/ioam/gists{/gist_id}","starred_url":"https://api.github.com/users/ioam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ioam/subscriptions","organizations_url":"https://api.github.com/users/ioam/orgs","repos_url":"https://api.github.com/users/ioam/repos","events_url":"https://api.github.com/users/ioam/events{/privacy}","received_events_url":"https://api.github.com/users/ioam/received_events","type":"Organization","site_admin":false},"repo":{"id":19542768,"name":"holoviews","full_name":"ioam/holoviews","owner":{"login":"ioam","id":1693676,"avatar_url":"https://avatars.githubusercontent.com/u/1693676?v=3","gravatar_id":"","url":"https://api.github.com/users/ioam","html_url":"https://github.com/ioam","followers_url":"https://api.github.com/users/ioam/followers","following_url":"https://api.github.com/users/ioam/following{/other_user}","gists_url":"https://api.github.com/users/ioam/gists{/gist_id}","starred_url":"https://api.github.com/users/ioam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ioam/subscriptions","organizations_url":"https://api.github.com/users/ioam/orgs","repos_url":"https://api.github.com/users/ioam/repos","events_url":"https://api.github.com/users/ioam/events{/privacy}","received_events_url":"https://api.github.com/users/ioam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ioam/holoviews","description":"Stop plotting your data - annotate your data and let it visualize itself","fork":false,"url":"https://api.github.com/repos/ioam/holoviews","forks_url":"https://api.github.com/repos/ioam/holoviews/forks","keys_url":"https://api.github.com/repos/ioam/holoviews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ioam/holoviews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ioam/holoviews/teams","hooks_url":"https://api.github.com/repos/ioam/holoviews/hooks","issue_events_url":"https://api.github.com/repos/ioam/holoviews/issues/events{/number}","events_url":"https://api.github.com/repos/ioam/holoviews/events","assignees_url":"https://api.github.com/repos/ioam/holoviews/assignees{/user}","branches_url":"https://api.github.com/repos/ioam/holoviews/branches{/branch}","tags_url":"https://api.github.com/repos/ioam/holoviews/tags","blobs_url":"https://api.github.com/repos/ioam/holoviews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ioam/holoviews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ioam/holoviews/git/refs{/sha}","trees_url":"https://api.github.com/repos/ioam/holoviews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ioam/holoviews/statuses/{sha}","languages_url":"https://api.github.com/repos/ioam/holoviews/languages","stargazers_url":"https://api.github.com/repos/ioam/holoviews/stargazers","contributors_url":"https://api.github.com/repos/ioam/holoviews/contributors","subscribers_url":"https://api.github.com/repos/ioam/holoviews/subscribers","subscription_url":"https://api.github.com/repos/ioam/holoviews/subscription","commits_url":"https://api.github.com/repos/ioam/holoviews/commits{/sha}","git_commits_url":"https://api.github.com/repos/ioam/holoviews/git/commits{/sha}","comments_url":"https://api.github.com/repos/ioam/holoviews/comments{/number}","issue_comment_url":"https://api.github.com/repos/ioam/holoviews/issues/comments{/number}","contents_url":"https://api.github.com/repos/ioam/holoviews/contents/{+path}","compare_url":"https://api.github.com/repos/ioam/holoviews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ioam/holoviews/merges","archive_url":"https://api.github.com/repos/ioam/holoviews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ioam/holoviews/downloads","issues_url":"https://api.github.com/repos/ioam/holoviews/issues{/number}","pulls_url":"https://api.github.com/repos/ioam/holoviews/pulls{/number}","milestones_url":"https://api.github.com/repos/ioam/holoviews/milestones{/number}","notifications_url":"https://api.github.com/repos/ioam/holoviews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ioam/holoviews/labels{/name}","releases_url":"https://api.github.com/repos/ioam/holoviews/releases{/id}","deployments_url":"https://api.github.com/repos/ioam/holoviews/deployments","created_at":"2014-05-07T16:59:22Z","updated_at":"2016-10-04T14:02:18Z","pushed_at":"2016-10-04T18:48:25Z","git_url":"git://github.com/ioam/holoviews.git","ssh_url":"git@github.com:ioam/holoviews.git","clone_url":"https://github.com/ioam/holoviews.git","svn_url":"https://github.com/ioam/holoviews","homepage":"http://holoviews.org","size":9918,"stargazers_count":296,"watchers_count":296,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":204,"forks":41,"open_issues":204,"watchers":296,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ioam/holoviews/pulls/894"},"html":{"href":"https://github.com/ioam/holoviews/pull/894"},"issue":{"href":"https://api.github.com/repos/ioam/holoviews/issues/894"},"comments":{"href":"https://api.github.com/repos/ioam/holoviews/issues/894/comments"},"review_comments":{"href":"https://api.github.com/repos/ioam/holoviews/pulls/894/comments"},"review_comment":{"href":"https://api.github.com/repos/ioam/holoviews/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ioam/holoviews/pulls/894/commits"},"statuses":{"href":"https://api.github.com/repos/ioam/holoviews/statuses/d5fc73464398330cd346e610f1dc1dac1bfff0bc"}}}}
{"actor":{"display_login":"jbednar"}}