Browse Source

update the sfs_barplot auto title

tforest 1 year ago
parent
commit
a8b5c1aa6f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sfs_tools.py

+ 1 - 1
sfs_tools.py View File

@@ -219,7 +219,7 @@ def barplot_sfs(sfs,  xlab, ylab, folded=True, title = "Barplot", transformed =
219 219
     else:
220 220
          sfs_val.append(list(sfs.values())[n-1])
221 221
     #build the plot
222
-    title = title+" [folded="+str(folded)+"]"
222
+    title = title+" [folded="+str(folded)+"]"+" [transformed="+str(transformed)+"]"
223 223
     if ylab:
224 224
         plt.ylabel(ylab)
225 225
     if xlab: