You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree that this would be a nice feature. Until it gets implemented, I'll note that the effect can be pretty easily achieved by setting stat to "density" (remember to add height = ..density..)
For example: ggplot(diamonds, aes(x = price, y = cut, fill = cut, height = ..density..)) + geom_density_ridges(stat = "density", bounds = c(0, 20000))
wbvguo
changed the title
Feature request: geom_density_ridges for bounded data
FeatureRequest: geom_density_ridges for bounded data
Nov 12, 2024
wbvguo
changed the title
FeatureRequest: geom_density_ridges for bounded data
[FeatureRequest] geom_density_ridges for bounded data
Nov 16, 2024
Hi,
Thanks for maintaining this tool. Would it be possible to have an option for setting bounds when plotting the density ridge plot?
Just as the
geom_density
did in this github post:tidyverse/ggplot2#3387
Thanks!
The text was updated successfully, but these errors were encountered: