Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
GuangchuangYu committed Dec 20, 2024
1 parent dd31988 commit 8546b6f
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions R/emapplot_utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -323,19 +323,6 @@ add_ellipse <- function(p, group_legend, label_style,

return(p)
}
# add_ellipse <- function(p, group_legend, label_style) {
# show_legend <- c(group_legend, FALSE)
# names(show_legend) <- c("fill", "color")
# if (label_style == "shadowtext") {
# p <- p + ggforce::geom_mark_ellipse(aes_(x =~ x, y =~ y, color =~ color2,
# fill =~ color2), show.legend = show_legend)
# } else {
# p <- p + ggforce::geom_mark_ellipse(aes_(x =~ x, y =~ y, color =~ color2,
# fill =~ color2, label =~ color2), show.legend = show_legend)
# }
# if (group_legend) p <- p + scale_fill_discrete(name = "groups")
# return(p)
# }


# ##' add category nodes
Expand Down

0 comments on commit 8546b6f

Please sign in to comment.