diff --git a/R/hgraph.R b/R/hgraph.R index 326a3f5..f1ccfc2 100644 --- a/R/hgraph.R +++ b/R/hgraph.R @@ -309,7 +309,7 @@ hGraph <- function( # scale_alpha(guide="none") + scale_fill_manual(values=palette, labels=labels, - guide_legend(legend.name)) + + guide = guide_legend(legend.name)) + theme(legend.position = legend.position, legend.title = ggplot2::element_text(size = legend.textsize), legend.text = ggplot2::element_text(size = legend.textsize)) +