From c9cae32e9858e1366efee607bc30a48b252fadd7 Mon Sep 17 00:00:00 2001 From: "A. Murat Eren" Date: Sat, 16 Aug 2014 23:15:46 -0400 Subject: [PATCH] the missing colors in the stackbar bug is now fixed.. --- bin/o-stackbar.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/o-stackbar.R b/bin/o-stackbar.R index 71afbac..12c6e84 100755 --- a/bin/o-stackbar.R +++ b/bin/o-stackbar.R @@ -80,7 +80,7 @@ P <- function(df){ p <- p + guides(fill = guide_legend(nrow = 25)) p <- p + theme(plot.title = element_text(hjust=0, vjust=1)) p <- p + coord_cartesian(ylim=c(-0.01, 1.01)) - p <- p + scale_fill_manual(limits = colors_list[[1]], values = as.vector(colors_list[[2]])) + p <- p + scale_fill_manual(values = as.vector(colors_list[[2]])) print(p) }