tidyverse / ggplot2

An implementation of the Grammar of Graphics in R
https://ggplot2.tidyverse.org
Other
6.4k stars 2k forks source link

Clarify when `dpi` applies in `ggsave()` #5842

Closed teunbrand closed 2 months ago

teunbrand commented 3 months ago

This PR aims to fix #5497.

Briefly, dpi is applied when units are specified in pixels, not just for raster output types. This edits the description to clarify this.