Mercurial > repos > mheinzl > fsd
diff fsd.py @ 24:807d893d04a7 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:37:48 -0400 |
parents | 5ae4fd1d4a12 |
children | 6d6de5991fa2 |
line wrap: on
line diff
--- a/fsd.py Mon Jun 03 05:11:45 2019 -0400 +++ b/fsd.py Mon Jun 03 05:37:48 2019 -0400 @@ -337,17 +337,19 @@ x = [xi + barWidth for xi in x] w = 1./(len(list_to_plot) + 1) + print(label[i]) print(colors[i]) print(w) + # linewidth=1, if to_plot[l] == "Relative frequencies": counts2_rel = ax.bar(x, list(numpy.float_(y)) / sum(y), align="edge", width=w, - edgecolor="black", label=label[i], alpha=0.8, linewidth=1, color=colors[i]) + edgecolor="black", label=label[i], alpha=0.8, color=colors[i]) else: counts2 = ax.bar(x, y, align="edge", width=w, edgecolor="black", label=label[i], - alpha=0.8, linewidth=1, color=colors[i]) + alpha=0.8, color=colors[i]) if i == len(list_to_plot2): barWidth += 1. / (len(list_to_plot) + 1) + 1. / (len(list_to_plot) + 1) else: