From d6f0b195a09e0fb877d3ef4951da479509b9b6c2 Mon Sep 17 00:00:00 2001 From: Katherine Beigel <123108611+beigelk@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:15:15 -0500 Subject: [PATCH] Update plotting.R Made change as described in https://github.com/powellgenomicslab/Nebulosa/issues/22#issuecomment-1966415400 --- R/plotting.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/plotting.R b/R/plotting.R index e91c738..13b6258 100644 --- a/R/plotting.R +++ b/R/plotting.R @@ -29,7 +29,7 @@ plot_density_ <- function(z, feature, cell_embeddings, dim_names, shape, size, xlab(gsub("_", " ", dim_names[1])) + ylab(gsub("_", " ", dim_names[2])) + ggtitle(feature) + - labs(color = guide_legend(legend_title)) + + labs(color = legend_title) + theme( text = element_text(size = 14), panel.background = element_blank(),