Closed
Description
Hi all,
plotting with stat_summary_hex()
the resulting plot does not look as expected and seems to not represent the underlying data. The difference to a plot generated with stat_summary_2d()
is striking, when I would expect them to look very similar.
I observed this problem in ggplot2_3.4.0
but not ggplot2_3.3.5
.
The problem can be seen on the example data:
library(ggplot2)
d <- ggplot(diamonds, aes(carat, depth, z = price))
d + stat_summary_2d()
d + stat_summary_hex()
Thanks a lot in advance for looking into this!
Metadata
Metadata
Assignees
Labels
No labels