Skip to content

Commit 15cb2fb

Browse files
authored
Placement of text elements on the plot (#5007)
The placement of the text in the plot is slightly adjusted.
1 parent fda4dfa commit 15cb2fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/geom-text.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
#' df <- data.frame(
146146
#' x = c(1, 1, 2, 2, 1.5),
147147
#' y = c(1, 2, 1, 2, 1.5),
148-
#' text = c("bottom-left", "bottom-right", "top-left", "top-right", "center")
148+
#' text = c("bottom-left", "top-left", "bottom-right", "top-right", "center")
149149
#' )
150150
#' ggplot(df, aes(x, y)) +
151151
#' geom_text(aes(label = text))

0 commit comments

Comments
 (0)