Now saves both pdf and png plots (previously: only pdf)