Skip to content

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix #6641.

In addition to improving the docs around quantiles, it also interprests logical linetype values as numeric.
From this follows that linetype = TRUE becomes solid and linetype = FALSE becomes blank.
It is convenient if you want a logical switch for linetypes, like so:

devtools::load_all("~/packages/ggplot2/")
#> ℹ Loading ggplot2

ggplot(mpg, aes(drv, displ)) +
  geom_violin(quantile.linetype = TRUE)

Created on 2025-09-26 with reprex v2.1.1

@teunbrand teunbrand added this to the ggplot2 4.0.1 milestone Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

draw_quantiles param deprecated from geom_violin() with no replacement?

1 participant