{"action":"created","issue":{"url":"https://api.github.com/repos/ioam/holoviews/issues/197","labels_url":"https://api.github.com/repos/ioam/holoviews/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/ioam/holoviews/issues/197/comments","events_url":"https://api.github.com/repos/ioam/holoviews/issues/197/events","html_url":"https://github.com/ioam/holoviews/issues/197","id":92427050,"number":197,"title":"Sum across an axis","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-01T16:26:50Z","updated_at":"2015-07-01T18:03:43Z","closed_at":null,"body":"I think this was covered in the Transforming Data tutorial, but since that's not yet up on the website, can you please show how to make a Curve out of an Image by summing across a specified axis?"},"comment":{"url":"https://api.github.com/repos/ioam/holoviews/issues/comments/117771665","html_url":"https://github.com/ioam/holoviews/issues/197#issuecomment-117771665","issue_url":"https://api.github.com/repos/ioam/holoviews/issues/197","id":117771665,"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},"created_at":"2015-07-01T18:03:43Z","updated_at":"2015-07-01T18:03:43Z","body":"Is there a reason to prefer the version you listed above:\r\n\r\n``\r\nresults.reduce(['A'], np.mean).to.curve())\r\n``\r\n\r\n to:\r\n\r\n``\r\nhv.Curve(results.reduce(['A'], np.mean))\r\n``\r\n\r\nThe second version seems more explicit and obvious, to me.\r\n"}}