Mercurial > repos > mheinzl > fsd
changeset 23:5ae4fd1d4a12 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:11:45 -0400 (2019-06-03) |
parents | 5e650e66e058 |
children | 807d893d04a7 |
files | fsd.py |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/fsd.py Tue May 21 08:17:02 2019 -0400 +++ b/fsd.py Mon Jun 03 05:11:45 2019 -0400 @@ -336,10 +336,15 @@ else: x = [xi + barWidth for xi in x] w = 1./(len(list_to_plot) + 1) + + print(label[i]) + print(colors[i]) + print(w) 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]) + else: counts2 = ax.bar(x, y, align="edge", width=w, edgecolor="black", label=label[i], alpha=0.8, linewidth=1, color=colors[i])