Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

Commit 65e40ff

Browse files
committed
add signature title in diagplots
1 parent f3ed8d9 commit 65e40ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssam/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def plot_diagnostic_plot(self, centroid_index, cluster_name=None, cluster_color=
392392
else:
393393
col = cluster_color
394394
ax.bar(self.genes, sig_values[max_corr_idx], color=col)
395-
ax.set_title("%s (max %s: %.3f)"%(lbl, corr_label, corr_results[max_corr_idx]))
395+
ax.set_title("%s in %s (max %s, %.3f)"%(lbl, sig_title, corr_label, corr_results[max_corr_idx]))
396396
plt.xlim([-1, len(self.genes)])
397397
plt.xticks(rotation=90)
398398
subplot_idx += 1

0 commit comments

Comments
 (0)