ggpol
ggpol copied to clipboard
argument "layout" is missing, with no default
Hello,
I've came back to code that was a few months old and I cannot regenerate my plot with geom_boxjitter, here's the error I get:
Error in `geom_boxjitter()`:
! Problem while converting geom to grob.
ℹ Error occurred in the 1st layer.
Caused by error in `fun()`:
! argument "layout" is missing, with no default
Run `rlang::last_trace()` to see where the error occurred.
My code:
ggplot(df,aes(x=mag_only,y=mean_perc,color=mag_only))+
geom_boxjitter(outlier.shape = NA, width = 0.75, jitter.alpha = 0.8, jitter.size = 0.7, jitter.stroke = NA, jitter.params = list(height = 0))+
scale_color_manual(values=c(palette_okabe_ito()[2],palette_okabe_ito()[1]))+
theme_bw()+
facet_wrap(~levelB,nrow=2)
ggsave("stock_boxplot.png",dpi=300,bg="white",width=16)
I'm using R v4.4.3, ggplot2 v4.0.0 and ggpol v0.0.7
I see that there's no recent release of ggpol so maybe a problem on the R version ?
Thanks in advance ! And thanks for creating ggpol, I've been using geom_boxjitter a lot !
Eric
Have the same issue here, did you find a fix? @ericolo
Nope no fix on my side, I just went back to geom_jitter and geom_boxplot