Skip to content

Commit

Permalink
fix(plots): parametrize rainbow plot default fontsize
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron Smith <cameron.ray.smith@gmail.com>
  • Loading branch information
cameronraysmith committed Sep 5, 2024
1 parent 7b9f22a commit 03eea70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pyrovelocity/plots/_rainbow.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ def rainbowplot_module(
show_data: bool = True,
rainbow_plot_path: str = "rainbow.pdf",
dotsize: int = 1,
default_fontsize: int = 7,
) -> Tuple[Figure, Dict[str, Axes]]:
set_font_size(7)
set_font_size(default_fontsize)

if genes is None:
genes = get_genes(volcano_data, num_genes, negative_correlation)
Expand Down

0 comments on commit 03eea70

Please sign in to comment.