From ee3cd467adac2669f8d1137b508c6cb2bfcb0f32 Mon Sep 17 00:00:00 2001 From: Antoine Bichat <30300749+abichat@users.noreply.github.com> Date: Tue, 14 Oct 2025 20:49:05 +0800 Subject: [PATCH] size > linewidth for geom_polygon in vignette --- vignettes/species-distribution.Rmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vignettes/species-distribution.Rmd b/vignettes/species-distribution.Rmd index c19e9bc..36bedda 100644 --- a/vignettes/species-distribution.Rmd +++ b/vignettes/species-distribution.Rmd @@ -75,7 +75,7 @@ ggplot(data = col_sp, aes(x = longitude, aes(x = long, y = lat, group = group), fill = "grey95", color = "gray40", - size = 0.1) + + linewidth = 0.1) + geom_point(size = 0.7, alpha = 0.5) + # this guarantees the map is not stretched coord_fixed(xlim = range(col_sp$longitude), @@ -99,7 +99,7 @@ ggplot(data = col_sp, aes(x = longitude, aes(x = long, y = lat, group = group), fill = "grey95", color = "gray40", - size = 0.1) + + linewidth = 0.1) + geom_point(size = 0.7, alpha = 0.5) + # annotate with a hulls and labels geom_mark_hull(aes(label = scientific_name, @@ -161,7 +161,7 @@ ggplot(col_clean, aes(x = longitude, y = latitude, aes(x = long, y = lat, group = group), fill = "grey95", color = "gray40", - size = 0.1) + + linewidth = 0.1) + geom_point(size = 0.7, alpha = 0.5) + geom_mark_hull(aes(label = scientific_name, fill = scientific_name),