Skip to content

Commit

Permalink
Don't inherit aesthetics in geom_polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Jun 16, 2015
1 parent ddf950a commit 05b278e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/fortify-map.r
Expand Up @@ -98,5 +98,5 @@ map_data <- function(map, region = ".", exact = FALSE, ...) {
borders <- function(database = "world", regions = ".", fill = NA, colour = "grey50", ...) {
df <- map_data(database, regions)
geom_polygon(aes_q(quote(long), quote(lat), group = quote(group)), data = df,
fill = fill, colour = colour, ...)
fill = fill, colour = colour, ..., inherit.aes = FALSE)
}

0 comments on commit 05b278e

Please sign in to comment.