Skip to content

Commit e36eed6

Browse files
committed
Merge branch 'v3.2.0-rc' of https://github.com/tidyverse/ggplot2 into v3.2.0-rc
2 parents 7bd2714 + a1a19fc commit e36eed6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

R/position-dodge.r

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
#' ggplot(mtcars, aes(factor(cyl), fill = factor(vs))) +
1818
#' geom_bar(position = "dodge2")
1919
#'
20-
#' # By default, dodging with `position_dodge2()` preserves the width of each
21-
#' # element. You can choose to preserve the total width with:
20+
#' # By default, dodging with `position_dodge2()` preserves the total width of
21+
#' # the elements. You can choose to preserve the width of each element with:
2222
#' ggplot(mtcars, aes(factor(cyl), fill = factor(vs))) +
23-
#' geom_bar(position = position_dodge(preserve = "total"))
23+
#' geom_bar(position = position_dodge2(preserve = "single"))
2424
#'
2525
#' \donttest{
2626
#' ggplot(diamonds, aes(price, fill = cut)) +

man/position_dodge.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)