Skip to content

Commit 2bd8cd5

Browse files
authored
Fix mistake in alignment docs for geom_text() (#6073)
* fix docs for `geom_text()` * swap top/right
1 parent 8c724a4 commit 2bd8cd5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

R/geom-text.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
#'
3232
#' @section Alignment:
3333
#' You can modify text alignment with the `vjust` and `hjust`
34-
#' aesthetics. These can either be a number between 0 (right/bottom) and
35-
#' 1 (top/left) or a character (`"left"`, `"middle"`, `"right"`, `"bottom"`,
34+
#' aesthetics. These can either be a number between 0 (left/bottom) and
35+
#' 1 (right/top) or a character (`"left"`, `"middle"`, `"right"`, `"bottom"`,
3636
#' `"center"`, `"top"`). There are two special alignments: `"inward"` and
3737
#' `"outward"`. Inward always aligns text towards the center, and outward
3838
#' aligns it away from the center.

man/geom_text.Rd

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

0 commit comments

Comments
 (0)