Permalink
Browse files

Fix geom_step default icon

  • Loading branch information...
1 parent 4bd766a commit e5c56e421d73c009ce4650355ec81e04ab579c33 @hadley committed Dec 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 R/geom-step.r
  2. BIN inst/tests/visual/icon-geom_step.png
View
@@ -17,7 +17,7 @@ geom_step <- function(aesthetics = list(), direction = "hv") {
#' @S3method aes_icon step
aes_icon.step <- function(geom) {
- data.frame(x = 1:15, y = 1:15)
+ data.frame(x = seq(0, 1, length = 15), y = seq(0, 1, length = 15))
}
# Data and munching ----------------------------------------------------------
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e5c56e4

Please sign in to comment.