Skip to content

Commit 40eec09

Browse files
committed
canonise arrow param
1 parent e20e1a2 commit 40eec09

16 files changed

+38
-30
lines changed

R/geom-contour.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ GeomContourFilled <- ggproto("GeomContourFilled", GeomPolygon)
3737
#' @aesthetics GeomContour
3838
#' @aesthetics GeomContourFilled
3939
#' @inheritParams shared_layer_parameters
40-
#' @inheritParams geom_path
4140
#' @param binwidth The width of the contour bins. Overridden by `bins`.
4241
#' @param bins Number of contour bins. Overridden by `breaks`.
4342
#' @param breaks One of:

R/geom-density2d.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#' overriding these connections, see how the [stat][layer_stats] and
1717
#' [geom][layer_geoms] arguments work.
1818
#' @inheritParams shared_layer_parameters
19-
#' @inheritParams geom_path
2019
#' @param contour_var Character string identifying the variable to contour
2120
#' by. Can be one of `"density"`, `"ndensity"`, or `"count"`. See the section
2221
#' on computed variables for details.

R/geom-function.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ GeomFunction <- ggproto("GeomFunction", GeomPath,
3131
#' @aesthetics GeomFunction
3232
#' @param data Ignored by `stat_function()`, do not use.
3333
#' @inheritParams shared_layer_parameters
34-
#' @inheritParams geom_path
3534
#' @examples
3635
#'
3736
#' # geom_function() is useful for overlaying functions

R/geom-path.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,6 @@ GeomStep <- ggproto(
182182
#'
183183
#' @aesthetics GeomPath
184184
#' @inheritParams shared_layer_parameters
185-
#' @param arrow Arrow specification, as created by [grid::arrow()].
186-
#' @param arrow.fill fill colour to use for the arrow head (if closed). `NULL`
187-
#' means use `colour` aesthetic.
188185
#' @seealso
189186
#' [geom_polygon()]: Filled paths (polygons);
190187
#' [geom_segment()]: Line segments

R/geom-quantile.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ GeomQuantile <- ggproto(
1919
#' @aesthetics GeomQuantile
2020
#' @export
2121
#' @inheritParams shared_layer_parameters
22-
#' @inheritParams geom_path
2322
#' @param method.args List of additional arguments passed on to the modelling
2423
#' function defined by `method`.
2524
#' @param geom,stat Use to override the default connection between

R/geom-segment.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ GeomSegment <- ggproto(
6666
#'
6767
#' @aesthetics GeomSegment
6868
#' @inheritParams shared_layer_parameters
69-
#' @param arrow specification for arrow heads, as created by [grid::arrow()].
70-
#' @param arrow.fill fill colour to use for the arrow head (if closed). `NULL`
71-
#' means use `colour` aesthetic.
7269
#' @seealso [geom_path()] and [geom_line()] for multi-
7370
#' segment lines and paths.
7471
#' @seealso [geom_spoke()] for a segment parameterised by a location

R/geom-spoke.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ GeomSpoke <- ggproto(
2424
#'
2525
#' @aesthetics GeomSpoke
2626
#' @inheritParams shared_layer_parameters
27-
#' @inheritParams geom_segment
2827
#' @export
2928
#' @examples
3029
#' df <- expand.grid(x = 1:10, y=1:10)

R/geom-tile.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ GeomTile <- ggproto(
5858
#' `geom_tile()` understands only the `x`/`width` and `y`/`height` combinations.
5959
#' Note that `geom_raster()` ignores `colour`.
6060
#' @inheritParams shared_layer_parameters
61-
#' @inheritParams geom_segment
6261
#' @export
6362
#'
6463
#' @details

R/layer.R

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,14 @@
110110
#' @param linemitre
111111
#' Line mitre limit, a number greater than 1.
112112
#'
113+
#' @param arrow
114+
#' Arrow specification. Can be created by [grid::arrow()] or `NULL` to not draw
115+
#' an arrow.
116+
#'
117+
#' @param arrow.fill
118+
#' Fill colour to use for closed arrowheads. `NULL` means use `colour`
119+
#' aesthetic.
120+
#'
113121
#' @param orientation
114122
#' The orientation of the layer. The default (`NA`) automatically determines the
115123
#' orientation from the aesthetic mapping. In the rare event that this fails it

man/geom_contour.Rd

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

0 commit comments

Comments
 (0)