see icon indicating copy to clipboard operation
see copied to clipboard

Empty space and small points in `geom_violindot`

Open julioevi opened this issue 3 years ago • 0 comments

hi! The following code creates two violindot plots with extra white space between the first geom and the y axis. I was wondering if this is expected or if it is possible to get rid of it?

iris %>%
    ggplot2::ggplot(ggplot2::aes(x = Species, y = Sepal.Length)) +
    see::geom_violindot()

image

Maybe related to that problem is that a similar plot with synthetic data has really small points compared to the plot made with iris

library(tidyr)
set.seed(20220712)
new_data <- as_tibble(
  list('numeric1'= rnorm(40, mean=50, sd=10),
       'group'= sample( c("group1"), 40, replace=TRUE )))
new_data %>%
    ggplot2::ggplot(ggplot2::aes(x = group, y = numeric1)) +
    see::geom_violindot()

image

julioevi avatar Jul 29 '22 18:07 julioevi