Fix saving plots with no background by karawoo · Pull Request #4244 · tidyverse/ggplot2

Fixes #4212. When the plot.background itself is NULL, ggsave() will set the device bg to "transparent". This seems to work for devices that support transparent backgrounds. JPEGs and PDFs will have...