Skip to content

Commit 6d91349

Browse files
authored
Docs no longer say Geoms don't have setup_params() method (#4161)
* doc no longer says no setup_params() method for geom * added back everything but last sentence
1 parent ca24e27 commit 6d91349

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

R/geom-.r

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ NULL
1414
#' Compared to `Stat` and `Position`, `Geom` is a little
1515
#' different because the execution of the setup and compute functions is
1616
#' split up. `setup_data` runs before position adjustments, and
17-
#' `draw_layer()` is not run until render time, much later. This
18-
#' means there is no `setup_params` because it's hard to communicate
19-
#' the changes.
17+
#' `draw_layer()` is not run until render time, much later.
2018
#'
2119
#' To create a new type of Geom object, you typically will want to
2220
#' override one or more of the following:

man/ggplot2-ggproto.Rd

+1-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)