Skip to content

geom_bin has white dots on the borders #2157

@idavydov

Description

@idavydov

When creating geom_bin plot, white dots are introduced between the bins. Is it possible to get rid of those?

The same is reproduced in the current master (f84e315) & current cran (2.2.1) versions on the latest R (3.4.0).

library(ggplot2)
N=1000
d <- data.frame(x=rnorm(N), y=rnorm(N))
## png('hex.png')
ggplot(d, aes(x, y)) + geom_hex()
## dev.off()

hex

Metadata

Metadata

Assignees

No one assigned

    Labels

    reprexneeds a minimal reproducible example

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions