Skip to content

Histograms are different between ggplot 3.5.2 and rc/4.0.0 on Windows #6585

@rogerssam

Description

@rogerssam

Histograms are (visually) substantially different between the current released version 3.5.2 and the version in the 4.0.0 release candidate (3.5.2.9002, commit ce8d250). I'm not entirely sure where the issue comes from, but possibly the data is being binned differently? I believe this is what's causing revdepcheck failures in my package biometryassist.

Note this issue only appears on Windows. I have verified this appearing across multiple computers under Windows, but is fine on macOS or Ubuntu.

Here is in minimal reprex:

# Version 3.5.2
ggplot(iris, aes(Sepal.Length)) + geom_histogram()
Image
# Version 3.5.2.9002
ggplot(iris, aes(Sepal.Length)) + geom_histogram()
Image

See for example values around x = 5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions