From 62dbd7656c16b30e4c126f52a0b50db6c6a3998f Mon Sep 17 00:00:00 2001 From: "M. Drew LaMar" Date: Wed, 2 Dec 2020 11:25:29 -0500 Subject: [PATCH] Fix geom_polygon default colour to NA (#4279) * Was incorrectly set to "NA" --- R/geom-polygon.r | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/geom-polygon.r b/R/geom-polygon.r index 9b5f1bb291..f44ae4d633 100644 --- a/R/geom-polygon.r +++ b/R/geom-polygon.r @@ -167,7 +167,7 @@ GeomPolygon <- ggproto("GeomPolygon", Geom, }, - default_aes = aes(colour = "NA", fill = "grey20", size = 0.5, linetype = 1, + default_aes = aes(colour = NA, fill = "grey20", size = 0.5, linetype = 1, alpha = NA, subgroup = NULL), handle_na = function(data, params) {