You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mydata<-data.frame(y= rep(1, 10))
ggplot(mydata, aes(x=1, y)) +
geom_violin(draw_quantiles=.5)
# Error in stats::approxfun(data$y, data$xminv) : # need at least two non-NA values to interpolate
geom_violin without draw_quantiles and geom_boxplot behave correctly in this situation:
ggplot(mydata, aes(x=1, y)) +
geom_violin()
The text was updated successfully, but these errors were encountered:
Reprex:
geom_violin
withoutdraw_quantiles
andgeom_boxplot
behave correctly in this situation:The text was updated successfully, but these errors were encountered: