Skip to content

Commit 4a336c6

Browse files
committed
Don't use group2NA
1 parent 5816dea commit 4a336c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/trace_generation.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ toBasic <- list(
350350
g
351351
},
352352
density=function(g) {
353-
g <- group2NA(g, "area")
353+
g$geom <- "area"
354354
if (is.null(g$data$fill) && is.null(g$params$alpha)) g$params$alpha <- 0
355355
if (is.null(g$data$colour)) g$params$colour <- "black"
356356
g

0 commit comments

Comments
 (0)