Skip to content

Commit 0e08dfc

Browse files
committed
Fix #5121
1 parent 685f261 commit 0e08dfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vignettes/articles/faq-axes.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ ggplot(mpg, aes(drv)) +
473473
```
474474

475475
However note that this removes the padding at the bottom of the bars as well as on top.
476-
By default, ggplot2 The expands the scale by 5% on each side for continuous variables and by 0.6 units on each side for discrete variables.
476+
By default, ggplot2 expands the scale by 5% on each side for continuous variables and by 0.6 units on each side for discrete variables.
477477
To keep the default expansion on top while removing it at the bottom, you can use the following.
478478
The `mult` argument in `expansion()` takes a multiplicative range expansion factors.
479479
Given a vector of length 2, the lower limit is expanded by `mult[1]` (in this case 0) and the upper limit is expanded by `mult[2]` (in this case 0.05).

0 commit comments

Comments
 (0)