I receive the following warning when setting quantile_lines = TRUE:
Warning: Using the `size` aesthetic with geom_segment was deprecated in ggplot2 3.4.0.
Please use the `linewidth` aesthetic instead.
Here is a reprex:
library("ggplot2")
library("ggridges")
#> Warning: package 'ggridges' was built under R version 4.2.3
ggplot(iris, aes(x = Sepal.Length, y = Species, fill = factor(after_stat(quantile)))) +
stat_density_ridges(
geom = "density_ridges_gradient",
calc_ecdf = TRUE,
quantiles = 5,
quantile_lines = TRUE
)
#> Picking joint bandwidth of 0.181
#> Warning: Using the `size` aesthetic with geom_segment was deprecated in ggplot2 3.4.0.
#> ℹ Please use the `linewidth` aesthetic instead.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
#> generated.
I receive the following warning when setting
quantile_lines = TRUE
:Here is a reprex:
Created on 2023-08-29 with reprex v2.0.2