Mercurial > repos > mheinzl > fsd
comparison fsd.py @ 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 |
comparison
equal
deleted
inserted
replaced
24:807d893d04a7 | 25:6d6de5991fa2 |
---|---|
342 print(colors[i]) | 342 print(colors[i]) |
343 print(w) | 343 print(w) |
344 # linewidth=1, | 344 # linewidth=1, |
345 | 345 |
346 if to_plot[l] == "Relative frequencies": | 346 if to_plot[l] == "Relative frequencies": |
347 counts2_rel = ax.bar(x, list(numpy.float_(y)) / sum(y), align="edge", width=w, | 347 counts2_rel = ax.bar(x, y.astype(float) / sum(y), align="edge", width=w, |
348 edgecolor="black", label=label[i], alpha=0.8, color=colors[i]) | 348 edgecolor="black", label=label[i], alpha=0.8, color=colors[i]) |
349 | 349 |
350 else: | 350 else: |
351 counts2 = ax.bar(x, y, align="edge", width=w, edgecolor="black", label=label[i], | 351 counts2 = ax.bar(x, y, align="edge", width=w, edgecolor="black", label=label[i], |
352 alpha=0.8, color=colors[i]) | 352 alpha=0.8, color=colors[i]) |