Skip to content

Add bounds argument to geom_density #796

@MartinBernstorff

Description

@MartinBernstorff

Thanks a ton for the work on an excellent package! 🍾

When using geom_density, I get "drooping" edges because the geom assumes values outside the range of data are 0. More detail, as well as the PR to ggplot which fixed it with an argument, here: tidyverse/ggplot2#4013

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions