diff --git a/findex/_targets.R b/findex/_targets.R index 9f4e0ae844f64dde3e5664049e6c1f52f43ef1b9..4d9fc2f5fc30fb7b91b11366f39152fdd4115746 100644 --- a/findex/_targets.R +++ b/findex/_targets.R @@ -249,11 +249,9 @@ p3 <- list( threat_category = p2_threat_categories) + theme(legend.position = "none") - # change to actual directory once design is finalized -------------------- ggsave(sprintf("../src/assets/images/%s_threat_by_basin.png", str_replace_all(p2_threat_categories, " ", "_")), final_plot, height = 6, width = 10, dpi = 300) - # change to actual directory once design is finalized -------------------- knitr::plot_crop(sprintf("../src/assets/images/%s_threat_by_basin.png", str_replace_all(p2_threat_categories, " ", "_"))) }, format = "file", @@ -269,11 +267,9 @@ p3 <- list( threat_category = "none") + theme(legend.position = "none") - # change to actual directory once design is finalized -------------------- ggsave("../src/assets/images/all_threat_by_basin.png", final_plot, height = 6, width = 10, dpi = 300) - # change to actual directory once design is finalized -------------------- knitr::plot_crop("../src/assets/images/all_threat_by_basin.png") }, format = "file"