From e381fa3fa6d45d72b9d5bf3cd9e79387acb25c50 Mon Sep 17 00:00:00 2001 From: Yunuuuu Date: Sat, 30 Nov 2024 02:06:35 +0800 Subject: [PATCH] code notes --- R/guides-.R | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/R/guides-.R b/R/guides-.R index 1643e14aba..b7e0a8550f 100644 --- a/R/guides-.R +++ b/R/guides-.R @@ -599,8 +599,9 @@ Guides <- ggproto( grobs }, - # here, we put `inside_position` in the last, so that it won't break current - # implement of patchwork + # here, we put `inside_position` and `inside_just` in the last, so that it + # won't break current implement of patchwork, which depends on the top three + # arguments to collect guides package_box = function(grobs, position, theme, inside_position = NULL, inside_just = NULL) { if (is.zero(grobs) || length(grobs) == 0) {