Skip to content

Commit aafcac3

Browse files
Update geom-text.r (#4389)
1 parent 15d38fb commit aafcac3

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

R/geom-text.r

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
#'
2626
#' @eval rd_aesthetics("geom", "text")
2727
#' @section `geom_label()`:
28-
#' Currently `geom_label()` does not support the `angle` aesthetic and
29-
#' is considerably slower than `geom_text()`. The `fill` aesthetic
30-
#' controls the background colour of the label.
28+
#' Currently `geom_label()` does not support the `check_overlap` argument
29+
#' or the `angle` aesthetic. Also, it is considerably slower than `geom_text()`.
30+
#' The `fill` aesthetic controls the background colour of the label.
3131
#'
3232
#' @section Alignment:
3333
#' You can modify text alignment with the `vjust` and `hjust`
@@ -50,7 +50,8 @@
5050
#' @param check_overlap If `TRUE`, text that overlaps previous text in the
5151
#' same layer will not be plotted. `check_overlap` happens at draw time and in
5252
#' the order of the data. Therefore data should be arranged by the label
53-
#' column before calling `geom_label()` or `geom_text()`.
53+
#' column before calling `geom_text()`. Note that this argument is not
54+
#' supported by `geom_label()`.
5455
#' @export
5556
#' @examples
5657
#' p <- ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars)))

man/geom_text.Rd

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

man/ggsf.Rd

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

man/scale_grey.Rd

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

0 commit comments

Comments
 (0)