has2k1 / plotnine

A Grammar of Graphics for Python

Home Page:https://plotnine.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add bounds argument to `geom_density`

MartinBernstorff opened this issue · comments

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

@HLasse You might find this interesting.