Skip to content

Commit bba1d9a

Browse files
committed
feat(StatBoxplot): support width as an optional aesthetic
1 parent 67d134d commit bba1d9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/stat-boxplot.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
StatBoxplot <- ggproto("StatBoxplot", Stat,
66
required_aes = c("y|x"),
77
non_missing_aes = "weight",
8+
optional_aes = "width",
89
# either the x or y aesthetic will get dropped during
910
# statistical transformation, depending on the orientation
1011
dropped_aes = c("x", "y", "weight"),

0 commit comments

Comments
 (0)