-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
messagesrequests for improvements to error, warning, or feedback messagesrequests for improvements to error, warning, or feedback messages
Description
Repex for this is actually in the docs, which include an example of the deprecation warning.
geom_violin(..., draw_quantiles = c(0.25, 0.5, 0.75))
Warning message:
The `draw_quantiles` argument of `geom_violin()` is deprecated as of ggplot2 4.0.0.
ℹ Please use the `quantiles.linetype` argument instead.Looks like the warning should probably read
ℹ Please use the `quantiles` argument with the `quantile.linetype` argument instead.for clarity as the replacing syntax is apparently
geom_violin(..., quantiles = c(0.25, 0.5, 0.75), quantile.linetype = "solid")and there is no quantiles.linetype argument.
Some confusion over needing to move quantile.linetype off its default as well as rename draw_quantiles to quantiles seems likely, so likely it'd be good to update the docs to show an example of the new syntax in addition to draw_quantiles' deprecation.
Metadata
Metadata
Assignees
Labels
messagesrequests for improvements to error, warning, or feedback messagesrequests for improvements to error, warning, or feedback messages