diff --git a/R/utilities.r b/R/utilities.r index b99c949a75..ffd3381a65 100644 --- a/R/utilities.r +++ b/R/utilities.r @@ -227,7 +227,7 @@ expand_range4 <- function(limits, expand) { #' scale_x_discrete(expand = expand_scale(add = 2)) #' #' # Reproduce the default range expansion used -#' # when the ‘expand’ argument is not specified +#' # when the 'expand' argument is not specified #' ggplot(subset(diamonds, carat > 2), aes(cut, price)) + #' geom_jitter() + #' scale_x_discrete(expand = expand_scale(add = .6)) + diff --git a/man/expand_scale.Rd b/man/expand_scale.Rd index b82ec179f1..f7ddb6b770 100644 --- a/man/expand_scale.Rd +++ b/man/expand_scale.Rd @@ -38,7 +38,7 @@ ggplot(subset(diamonds, carat > 2), aes(cut, clarity)) + scale_x_discrete(expand = expand_scale(add = 2)) # Reproduce the default range expansion used -# when the ‘expand’ argument is not specified +# when the 'expand' argument is not specified ggplot(subset(diamonds, carat > 2), aes(cut, price)) + geom_jitter() + scale_x_discrete(expand = expand_scale(add = .6)) +