Updates to include count & density to fix the use of geom_hexbin #1688
I've made the requested changes to the best of my ability (still new to pull requests and contributions to third party repos).
As for your comment regarding if this is the right place for the code, that was why I didn't submit a pull request in the first place on #1608 - I thought there might have been an architectural reason for the change that I wasn't familiar enough with to make the fix.
Happy to help if this is useful, otherwise I'm equally happy if someone else has a better or more elegant way to resolve this. Cheers!
Done. I've moved the code to
DF <- data.frame(x=rnorm(1000), y=rnorm(1000)) ggplot(DF) + geom_hex(aes(x=x, y=y, fill=..density..))