Skip to content

Commit e6311f2

Browse files
karawoohadley
authored andcommitted
Swap order of preserve arguments in position_dodge2() (#2545)
1 parent be82f84 commit e6311f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/position-dodge2.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#' shrunk by this proportion to allow space between them. Defaults to 0.1.
55
#' @param reverse If `TRUE`, will reverse the default stacking order.
66
#' This is useful if you're rotating both the plot and legend.
7-
position_dodge2 <- function(width = NULL, preserve = c("single", "total"),
7+
position_dodge2 <- function(width = NULL, preserve = c("total", "single"),
88
padding = 0.1, reverse = FALSE) {
99
ggproto(NULL, PositionDodge2,
1010
width = width,

man/position_dodge.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)