-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stat_summary_hex not working properly with discrete z values #5353
Comments
I think this is one of those cases similar to the ones documented in |
Thanks, that |
I found a problem with
stat_summary_hex
whenz
is a discrete variable:I expected p3 to be the same as p1 and p2 since length should return the same number regardless of which variable I pick for
z
, however it seems that the bins are being grouped byz
, which was not intended.Also
stat_summary_2d
have the same behavior, but its harder to see the overlapping bins.this was tested with ggplot2 3.4.2
The text was updated successfully, but these errors were encountered: