# HG changeset patch # User mheinzl # Date 1559561161 14400 # Node ID 67e34fc2b67a685faa1fcbec5f37b228a61788d7 # Parent 54ba0ad1263f52e996a35690a6010a48b44e7308 planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/fsd commit b8a2f7b7615b2bcd3b602027af31f4e677da94f6-dirty 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):