Skip to content

Commit ecbce50

Browse files
committed
Add back in accidentally removed varwidth param
1 parent 0406725 commit ecbce50

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

R/geom-boxplot.r

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@
113113
geom_boxplot <- function (mapping = NULL, data = NULL, stat = "boxplot",
114114
position = "dodge", outlier.colour = NULL,
115115
outlier.shape = NULL, outlier.size = NULL,
116-
notch = FALSE, notchwidth = .5, ...) {
116+
notch = FALSE, notchwidth = .5, varwidth = FALSE,
117+
...) {
117118

118119
outlier_defaults <- Geom$find('point')$default_aes()
119120

@@ -124,7 +125,7 @@ geom_boxplot <- function (mapping = NULL, data = NULL, stat = "boxplot",
124125
GeomBoxplot$new(mapping = mapping, data = data, stat = stat,
125126
position = position, outlier.colour = outlier.colour,
126127
outlier.shape = outlier.shape, outlier.size = outlier.size, notch = notch,
127-
notchwidth = notchwidth, ...)
128+
notchwidth = notchwidth, varwidth = varwidth, ...)
128129
}
129130

130131
GeomBoxplot <- proto(Geom, {

man/geom_boxplot.Rd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
\usage{
66
geom_boxplot(mapping = NULL, data = NULL, stat = "boxplot",
77
position = "dodge", outlier.colour = NULL, outlier.shape = NULL,
8-
outlier.size = NULL, notch = FALSE, notchwidth = 0.5, ...)
8+
outlier.size = NULL, notch = FALSE, notchwidth = 0.5,
9+
varwidth = FALSE, ...)
910
}
1011
\arguments{
1112
\item{outlier.colour}{colour for outlying points. Uses the default from geom_point().}

0 commit comments

Comments
 (0)