Attribution function for use with ggsave