Permalink
Browse files

Don't try reverse transform with date minor breaks

  • Loading branch information...
1 parent dae7bb8 commit bfe9097f5ebf093eb894cbc67d97d632d1e99397 @hadley hadley committed Jul 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 R/scale-.r
View
@@ -455,7 +455,7 @@ scale_break_positions(scale), limits = scale_limits(scale)) {
}
# Any minor breaks outside the dimensions need to be thrown away
- breaks <- censor(scale$trans$trans(breaks), scale_limits(scale))
+ censor(breaks, scale_limits(scale))
}
#' @S3method scale_breaks_minor datetime
scale_breaks_minor.datetime <- scale_breaks_minor.date

0 comments on commit bfe9097

Please sign in to comment.