Skip to content

Commit

Permalink
ensure legend fits, and render the html
Browse files Browse the repository at this point in the history
  • Loading branch information
sjspielman committed Jan 14, 2025
1 parent 9de82b4 commit 1e59f9c
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 70 deletions.
4 changes: 3 additions & 1 deletion analyses/hello-clusters/02_compare-clustering-parameters.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,9 @@ umap_plots <- cluster_results_list |>
theme(
axis.ticks = element_blank(),
axis.text = element_blank(),
legend.position = "bottom"
# Ensure legends fit in the figure
legend.position = "bottom",
legend.key.size = unit(0.2, "cm")
)
}
)
Expand Down
118 changes: 49 additions & 69 deletions analyses/hello-clusters/02_compare-clustering-parameters.nb.html

Large diffs are not rendered by default.

0 comments on commit 1e59f9c

Please sign in to comment.