Skip to content

Commit

Permalink
Merge pull request #23 from beigelk/master
Browse files Browse the repository at this point in the history
Update plotting.R for compatibility with updates on ggplot2
  • Loading branch information
joseah authored Feb 27, 2024
2 parents a9d81a2 + d6f0b19 commit 1f0714d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 1f0714d

Please sign in to comment.