Closed steveharoz closed 1 year ago
Overriding the legend key aesthetics works fine with geom_dotplot(), but it doesn't work for geom_dots().
geom_dotplot()
geom_dots()
# points in the legend are small by default ggplot(mtcars) + aes(x=wt, fill=factor(cyl)) + geom_dotplot(method = "histodot", stackgroups = TRUE)
ggplot(mtcars) + aes(x=wt, fill=factor(cyl)) + geom_dotplot(method = "histodot", stackgroups = TRUE) + # Override the point size! guides(fill = guide_legend(override.aes = list(size=20)))
But with geom_dots(), the override doesn't work.
ggplot(mtcars) + aes(x=wt, fill=factor(cyl), group=1) + ggdist::geom_dots() + # doesn't work :( guides(fill = guide_legend(override.aes = list(size=20)))
Might be related to #134
oh yeah, try it now on the github version, should be fixed for geom_dots().
Awesome. Thanks!
Overriding the legend key aesthetics works fine with
geom_dotplot()
, but it doesn't work forgeom_dots()
.But with
geom_dots()
, the override doesn't work.Might be related to #134