Skip to content

Commit f92675b

Browse files
committed
remove references to PDF in docs for prepare_figure()
1 parent a576cf6 commit f92675b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

R/save-figure.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
#' By default, plot will fill the space within margins.
2222
#' @param valign If size is set, where to place figure within margins. 1 = top, 0.5 = middle, 0 = bottom. (Default: 0.5)
2323
#' @param halign If size is set, where to place figure within margins. 1 = right, 0.5 = middle, 0 = left (Default: 0.5)
24-
#' @param pagesize Page size of PDF output: "A4" or "A5". (Default: "A4")
24+
#' @param pagesize Page size of output: "A4" or "A5". (Default: "A4")
2525
#' @param landscape Landscape page orientation? (Default: False)
26-
#' @param pagedim Dimensions (width, height) of PDF output. Overrides pagesize and landscape arguments if used.
26+
#' @param pagedim Dimensions (width, height) of output. Overrides pagesize and landscape arguments if used.
2727
#'
2828
#' @export
2929
#'
@@ -163,7 +163,7 @@ save_figure <- function(figure,
163163
# Prepare figure
164164
figure <- prepare_figure(figure, ...)
165165

166-
# Save to PDF file
166+
# Save to file
167167
figargs <- list(filename = filename,
168168
plot = figure$page,
169169
width = attr(figure$page, "width"),

man/prepare_figure.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)