Skip to content

Commit f357128

Browse files
committed
Eliminate ununused position_dodge2 code
1 parent 0648739 commit f357128

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

R/position-dodge2.r

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ pos_dodge2 <- function(df, width, n = NULL, padding = 0.1) {
8888
df$new_width <- (df$xmax - df$xmin) / n
8989
}
9090

91-
df$xmin <- df$x - (df$new_width / 2)
92-
df$xmax <- df$x + (df$new_width / 2)
93-
9491
# Find the total width of each group of elements
9592
group_sizes <- stats::aggregate(
9693
list(size = df$new_width),

0 commit comments

Comments
 (0)