-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Description
tidyverse/ggplot2#6577 cites a longstanding feature of geom_violin wherein it plots quantile lines based of the density estimate for the violin rather than for the actual data. As a consequence, the violin's median line (for example) won't exactly match the median line in a box plot of the same data. ggplot2 4.0 changes this behavior so that the geom_violin quantiles are computed directly from the data, thus improving the consistency of quantile plotting across geoms.
Purpose
Improved plotting consistency across various geoms
Use-case
Producing a violin plot in JASP's plot builder.
Is your feature request related to a problem?
Not exactly a problem.
Is your feature request related to a JASP module?
Descriptives
Describe the solution you would like
I'm simply asking the JASP team be mindful of the soon-to-be released version 4 of ggplot2, and maybe use the current ggpolt2 development version to do some pre-testing for compatibility with JASP.
Describe alternatives that you have considered
None.
Additional context

Illustration of the current quantile-mismatch between geom_boxplot and geom_violin.