| Previous changeset 36:54ba0ad1263f (2019-06-03) Next changeset 38:28fb192858ea (2019-06-03) |
|
Commit message:
planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/fsd commit b8a2f7b7615b2bcd3b602027af31f4e677da94f6-dirty |
|
modified:
fsd.py |
| b |
| diff -r 54ba0ad1263f -r 67e34fc2b67a fsd.py --- a/fsd.py Mon Jun 03 07:22:06 2019 -0400 +++ b/fsd.py Mon Jun 03 07:26:01 2019 -0400 |
| [ |
| @@ -359,14 +359,12 @@ if to_plot[l] == "Relative frequencies": print("relative") - #new_y = list(numpy.concatenate((numpy.array([yi / float(numpy.sum(y)) for yi in y])))) - - counts2_rel = ax.bar(x, list(numpy.float_(y)) / numpy.sum(y), align="edge", width=w, + new_y = list(numpy.concatenate((numpy.array([yi / float(numpy.sum(y)) for yi in y])))) + counts2_rel = ax.bar(x, new_y, align="edge", width=w, edgecolor="black", label=label[i],linewidth=1, alpha=0.8, color=colors[i]) else: y = list(y.reshape((len(y)))) - counts2 = ax.bar(x, y, align="edge", width=w, edgecolor="black", label=label[i], linewidth=1, alpha=0.8, color=colors[i]) if i == len(list_to_plot2): |