{"action":"created","issue":{"url":"https://api.github.com/repos/hadley/ggplot2/issues/1747","repository_url":"https://api.github.com/repos/hadley/ggplot2","labels_url":"https://api.github.com/repos/hadley/ggplot2/issues/1747/labels{/name}","comments_url":"https://api.github.com/repos/hadley/ggplot2/issues/1747/comments","events_url":"https://api.github.com/repos/hadley/ggplot2/issues/1747/events","html_url":"https://github.com/hadley/ggplot2/issues/1747","id":176335534,"number":1747,"title":"geom_hex no longer recognizes ..count..","user":{"login":"Ax3man","id":15309336,"avatar_url":"https://avatars.githubusercontent.com/u/15309336?v=3","gravatar_id":"","url":"https://api.github.com/users/Ax3man","html_url":"https://github.com/Ax3man","followers_url":"https://api.github.com/users/Ax3man/followers","following_url":"https://api.github.com/users/Ax3man/following{/other_user}","gists_url":"https://api.github.com/users/Ax3man/gists{/gist_id}","starred_url":"https://api.github.com/users/Ax3man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ax3man/subscriptions","organizations_url":"https://api.github.com/users/Ax3man/orgs","repos_url":"https://api.github.com/users/Ax3man/repos","events_url":"https://api.github.com/users/Ax3man/events{/privacy}","received_events_url":"https://api.github.com/users/Ax3man/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"thomasp85","id":1775316,"avatar_url":"https://avatars.githubusercontent.com/u/1775316?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasp85","html_url":"https://github.com/thomasp85","followers_url":"https://api.github.com/users/thomasp85/followers","following_url":"https://api.github.com/users/thomasp85/following{/other_user}","gists_url":"https://api.github.com/users/thomasp85/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasp85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasp85/subscriptions","organizations_url":"https://api.github.com/users/thomasp85/orgs","repos_url":"https://api.github.com/users/thomasp85/repos","events_url":"https://api.github.com/users/thomasp85/events{/privacy}","received_events_url":"https://api.github.com/users/thomasp85/received_events","type":"User","site_admin":false},"assignees":[{"login":"thomasp85","id":1775316,"avatar_url":"https://avatars.githubusercontent.com/u/1775316?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasp85","html_url":"https://github.com/thomasp85","followers_url":"https://api.github.com/users/thomasp85/followers","following_url":"https://api.github.com/users/thomasp85/following{/other_user}","gists_url":"https://api.github.com/users/thomasp85/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasp85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasp85/subscriptions","organizations_url":"https://api.github.com/users/thomasp85/orgs","repos_url":"https://api.github.com/users/thomasp85/repos","events_url":"https://api.github.com/users/thomasp85/events{/privacy}","received_events_url":"https://api.github.com/users/thomasp85/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/hadley/ggplot2/milestones/15","html_url":"https://github.com/hadley/ggplot2/milestones/v2.2.0","labels_url":"https://api.github.com/repos/hadley/ggplot2/milestones/15/labels","id":1909550,"number":15,"title":"v2.2.0","description":"","creator":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":24,"state":"open","created_at":"2016-07-28T13:50:42Z","updated_at":"2016-09-17T19:06:32Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-09-12T09:49:27Z","updated_at":"2016-09-20T13:12:30Z","closed_at":null,"body":"Strongly related to #1608.\r\n\r\nThis used to work:\r\n\r\n```\r\nDF <- data.frame(x=rnorm(1000), y=rnorm(1000))\r\nggplot(DF) + geom_hex(aes(x=x, y=y, alpha=..count..))\r\n```\r\nBut now returns the error: `object 'count' not found`. #1608 reported the same behavior for `..density..` but this has been resolved since. There is a perfectly viable workaround using `..value..` instead, but `..count..` seems more consistent with other stats and geoms, and old code may no longer work.\r\n\r\nAlso see on [SO](https://stackoverflow.com/questions/39446852/geom-hexbin-map-bincount-to-alpha/)."},"comment":{"url":"https://api.github.com/repos/hadley/ggplot2/issues/comments/248297106","html_url":"https://github.com/hadley/ggplot2/issues/1747#issuecomment-248297106","issue_url":"https://api.github.com/repos/hadley/ggplot2/issues/1747","id":248297106,"user":{"login":"thomasp85","id":1775316,"avatar_url":"https://avatars.githubusercontent.com/u/1775316?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasp85","html_url":"https://github.com/thomasp85","followers_url":"https://api.github.com/users/thomasp85/followers","following_url":"https://api.github.com/users/thomasp85/following{/other_user}","gists_url":"https://api.github.com/users/thomasp85/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasp85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasp85/subscriptions","organizations_url":"https://api.github.com/users/thomasp85/orgs","repos_url":"https://api.github.com/users/thomasp85/repos","events_url":"https://api.github.com/users/thomasp85/events{/privacy}","received_events_url":"https://api.github.com/users/thomasp85/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T13:12:30Z","updated_at":"2016-09-20T13:12:30Z","body":"@hadley Should this be fixed in `hexBinSummarise()` - it also touches StatSummaryHex and I'm unsure whether `value` rather than `count` is expected there..?"}}
{"actor":{"display_login":"thomasp85"}}