Skip to content

Commit 5dd2633

Browse files
authored
clarify when dpi applies (#5842)
1 parent b0a4a40 commit 5dd2633

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

R/save.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
#' @param units One of the following units in which the `width` and `height`
3838
#' arguments are expressed: `"in"`, `"cm"`, `"mm"` or `"px"`.
3939
#' @param dpi Plot resolution. Also accepts a string input: "retina" (320),
40-
#' "print" (300), or "screen" (72). Applies only to raster output types.
40+
#' "print" (300), or "screen" (72). Only applies when converting pixel units,
41+
#' as is typical for raster output types.
4142
#' @param limitsize When `TRUE` (the default), `ggsave()` will not
4243
#' save images larger than 50x50 inches, to prevent the common error of
4344
#' specifying dimensions in pixels.

man/ggsave.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.

0 commit comments

Comments
 (0)