{"action":"created","issue":{"url":"https://api.github.com/repos/bokeh/datashader/issues/608","repository_url":"https://api.github.com/repos/bokeh/datashader","labels_url":"https://api.github.com/repos/bokeh/datashader/issues/608/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/datashader/issues/608/comments","events_url":"https://api.github.com/repos/bokeh/datashader/issues/608/events","html_url":"https://github.com/bokeh/datashader/issues/608","id":331757327,"node_id":"MDU6SXNzdWUzMzE3NTczMjc=","number":608,"title":"Histograms for big data using datashader","user":{"login":"rtmatx","id":23462596,"node_id":"MDQ6VXNlcjIzNDYyNTk2","avatar_url":"https://avatars0.githubusercontent.com/u/23462596?v=4","gravatar_id":"","url":"https://api.github.com/users/rtmatx","html_url":"https://github.com/rtmatx","followers_url":"https://api.github.com/users/rtmatx/followers","following_url":"https://api.github.com/users/rtmatx/following{/other_user}","gists_url":"https://api.github.com/users/rtmatx/gists{/gist_id}","starred_url":"https://api.github.com/users/rtmatx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtmatx/subscriptions","organizations_url":"https://api.github.com/users/rtmatx/orgs","repos_url":"https://api.github.com/users/rtmatx/repos","events_url":"https://api.github.com/users/rtmatx/events{/privacy}","received_events_url":"https://api.github.com/users/rtmatx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-12T21:18:29Z","updated_at":"2018-06-19T15:41:15Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI have this idea in my head and tried in vain to search if there is any way to do this. So I am posting the question here.\r\n\r\nI am successful in creating datashader plots for different columns of a large dataframe with all the interactive capabilities. Right now, I can plot histogram of the entire dataset for a given column. But, is there any way to have a callback to dynamically create a histogram for the data that is in the current datashader selection or any other way that you can think of to create dynamic histogram ?\r\n\r\nThanks\r\n\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/bokeh/datashader/issues/comments/398445712","html_url":"https://github.com/bokeh/datashader/issues/608#issuecomment-398445712","issue_url":"https://api.github.com/repos/bokeh/datashader/issues/608","id":398445712,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODQ0NTcxMg==","user":{"login":"philippjfr","id":1550771,"node_id":"MDQ6VXNlcjE1NTA3NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1550771?v=4","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},"created_at":"2018-06-19T15:41:15Z","updated_at":"2018-06-19T15:41:15Z","author_association":"COLLABORATOR","body":"Apologies @rtmatx you probably need to enable rescaling of the axis for the histogram like this:\r\n\r\n```python\r\npoints = hv.Scatter(df, 'id_', 'col_')\r\nrasterized = rasterize(points, aggregator='mean')\r\nrasterized.hist(dimension='col_').map(shade, hv.Image).options('Histogram', framewise=True)\r\n```\r\n"}}
{"actor":{"display_login":"philippjfr"}}