Skip to content

Commit

Permalink
Add more options in heatmap example.
Browse files Browse the repository at this point in the history
  • Loading branch information
actapia committed Aug 26, 2024
1 parent 30e7e9f commit 489b647
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/tutorials/reads2tree/make_heatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def main():
sample_metadata=sample_metadata,
sample_name_column="accession",
order_by="genotype",
cmap="mako_r"
cmap="mako_r",
digit_annot=2, # Show two digits of the distance.
draw_group_labels=True # Label according to genotype.
)
plt.savefig(rna_clique_out_dir / "distance_heatmap.svg")

Expand Down

0 comments on commit 489b647

Please sign in to comment.