Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix bug in update_stat_defaults

  • Loading branch information...
commit 9cf98a71c30f9fe1835d4c9ad83450b83c2b38fa 1 parent a3d6255
@hadley authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  R/geom-defaults.r
View
2  R/geom-defaults.r
@@ -20,7 +20,7 @@ update_geom_defaults <- function(geom, new) {
#' @rdname update_defaults
#' @export
update_stat_defaults <- function(stat, new) {
- g <- Stat$find(geom)
+ g <- Stat$find(stat)
old <- g$default_aes()
aes <- defaults(new, old)
Please sign in to comment.
Something went wrong with that request. Please try again.