changeset 25:6d6de5991fa2 draft

planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/fsd commit b8a2f7b7615b2bcd3b602027af31f4e677da94f6-dirty
author mheinzl
date Mon, 03 Jun 2019 05:47:41 -0400
parents 807d893d04a7
children 60f66f701816
files fsd.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/fsd.py	Mon Jun 03 05:37:48 2019 -0400
+++ b/fsd.py	Mon Jun 03 05:47:41 2019 -0400
@@ -344,7 +344,7 @@
                 # linewidth=1,
 
                 if to_plot[l] == "Relative frequencies":
-                    counts2_rel = ax.bar(x, list(numpy.float_(y)) / sum(y), align="edge", width=w,
+                    counts2_rel = ax.bar(x, y.astype(float) / sum(y), align="edge", width=w,
                                          edgecolor="black", label=label[i], alpha=0.8, color=colors[i])
                     
                 else: