Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty space and small points in geom_violindot #228

Open
julioevi opened this issue Jul 29, 2022 · 0 comments
Open

Empty space and small points in geom_violindot #228

julioevi opened this issue Jul 29, 2022 · 0 comments

Comments

@julioevi
Copy link

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

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

No branches or pull requests

1 participant