tidyverse / ggplot2

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

`plot` as first argument of `ggsave()` #5874

Closed teunbrand closed 1 month ago

teunbrand commented 2 months ago

This PR aims to fix #3523.

Briefly, plot is now the first argument, but when plot is a character and filename is a plot (as per previous syntax), these arguments will be swapped.