Skip to content

Commit 3664af8

Browse files
Correct likely bug in geom-boxplot (#5413)
1 parent d180248 commit 3664af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/geom-boxplot.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ GeomBoxplot <- ggproto("GeomBoxplot", Geom,
268268
)
269269
box <- flip_data(box, flipped_aes)
270270

271-
if (!is.null(data$outliers) && length(data$outliers[[1]] >= 1)) {
271+
if (!is.null(data$outliers) && length(data$outliers[[1]]) >= 1) {
272272
outliers <- data_frame0(
273273
y = data$outliers[[1]],
274274
x = data$x[1],

0 commit comments

Comments
 (0)