Closed
Description
If all data points are in a single bin on the y axis (e.g. if they are all equal to 0) the hexagons appear extremely stretched vertically.
Minimal reprex:
data <- tibble(x = rnorm(1000, 20, 20), y = rep(0,1000))
data %>%
ggplot(aes(x = x, y = y))+
stat_binhex(bins = 100)+
scale_x_continuous(limits = c(-100,100))+
scale_y_continuous(limits = c(-100,100))