Closed
Description
There might be a bug in the default aesthetics for geom_polygon()
. It appears to be set to the string "NA" rather than NA. Here's a minimal reprex:
library(ggplot2)
geom_polygon()$geom$default_aes
#> Aesthetic mapping:
#> * `colour` -> "NA"
#> * `fill` -> "grey20"
#> * `size` -> 0.5
#> * `linetype` -> 1
#> * `alpha` -> NA
#> * `subgroup` -> NULL
Created on 2020-12-01 by the reprex package (v0.3.0.9001)
Metadata
Metadata
Assignees
Labels
No labels