From c8bcc459a9c4ad055ba258224899e65b4f3599ca Mon Sep 17 00:00:00 2001 From: DBinary <1157269262@qq.com> Date: Fri, 20 Sep 2024 04:27:39 +0000 Subject: [PATCH] fix the bug of ov.pl.marker_heatmap() --- omicverse/pl/_heatmap.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/omicverse/pl/_heatmap.py b/omicverse/pl/_heatmap.py index 6b3e9e91..f1179c83 100644 --- a/omicverse/pl/_heatmap.py +++ b/omicverse/pl/_heatmap.py @@ -347,7 +347,7 @@ def marker_heatmap( Whether to show the row names in the heatmap. show_colnames: bool Whether to show the column names in the heatmap. - save_pathway: str + save_path: str The file path for saving the plot. ax: matplotlib.axes.Axes A pre-existing axes object for plotting (optional). @@ -529,6 +529,11 @@ def marker_heatmap( row_dendrogram=False,col_dendrogram=False, col_split_order=list(df_col.Celltype_name.unique()), col_split=df_col.Celltype_name,col_split_gap=1, + xticklabels_kws={'labelsize':fontsize}, + yticklabels_kws={'labelsize':fontsize}, + dot_legend_kws={'fontsize':fontsize, + 'title_fontsize':fontsize}, + color_legend_kws={'fontsize':fontsize}, # row_split=df_row.Celltype_name,row_split_gap=1, x_order=df_col.Gene_name.unique(),y_order=df_col.Celltype_name.unique(), row_cluster=False,col_cluster=False,