Skip to content
Snippets Groups Projects
Commit bd352814 authored by Vaarre-Lamoureux, Kaysa S's avatar Vaarre-Lamoureux, Kaysa S
Browse files

remove unnecessary comments

parent d6448de4
No related branches found
No related tags found
1 merge request!92Tweaks to findex global maps page
...@@ -249,11 +249,9 @@ p3 <- list( ...@@ -249,11 +249,9 @@ p3 <- list(
threat_category = p2_threat_categories) + threat_category = p2_threat_categories) +
theme(legend.position = "none") 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, " ", "_")), ggsave(sprintf("../src/assets/images/%s_threat_by_basin.png", str_replace_all(p2_threat_categories, " ", "_")),
final_plot, height = 6, width = 10, dpi = 300) 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, " ", "_"))) knitr::plot_crop(sprintf("../src/assets/images/%s_threat_by_basin.png", str_replace_all(p2_threat_categories, " ", "_")))
}, },
format = "file", format = "file",
...@@ -269,11 +267,9 @@ p3 <- list( ...@@ -269,11 +267,9 @@ p3 <- list(
threat_category = "none") + threat_category = "none") +
theme(legend.position = "none") theme(legend.position = "none")
# change to actual directory once design is finalized --------------------
ggsave("../src/assets/images/all_threat_by_basin.png", ggsave("../src/assets/images/all_threat_by_basin.png",
final_plot, height = 6, width = 10, dpi = 300) 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") knitr::plot_crop("../src/assets/images/all_threat_by_basin.png")
}, },
format = "file" format = "file"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment