Browse code

Merge pull request #472 from kopperud/master

remove ggimage dependency for theme

Guangchuang Yu authored on 28/01/2022 13:58:10 • GitHub committed on 28/01/2022 13:58:10
Showing1 changed files

... ...
@@ -119,7 +119,7 @@ theme_tree2_internal <- function(bgcolor="white", fgcolor="black",
119 119
 theme_inset <- function(legend.position =  "none", ...) {
120 120
     list(xlab(NULL),
121 121
          ylab(NULL),
122
-         theme_tree(legend.position =  legend.position, ...),
123
-         ggimage::theme_transparent()
122
+         theme_tree(legend.position = legend.position, ...),
123
+         ggfun::theme_transparent()
124 124
          )
125 125
 }