comparison fsd.py @ 46:901827154779 draft

planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/fsd commit 033dd7b750f68e8aa68f327d7d72bd311ddbee4e-dirty
author mheinzl
date Tue, 27 Aug 2019 07:51:03 -0400
parents 6651e76baca1
children 1ed4a127c41a
comparison
equal deleted inserted replaced
45:6651e76baca1 46:901827154779
622 else: 622 else:
623 y = y 623 y = y
624 624
625 list_y.append(y) 625 list_y.append(y)
626 if i == 0: 626 if i == 0:
627 counts2 = ax2.bar(x, y, align="edge", width=0.8, 627 counts2 = ax2.bar(x, y, align="center", width=0.8,
628 edgecolor="black", label=label[0], 628 edgecolor="black", label=label[0],
629 linewidth=1, alpha=1, color=col[0]) 629 linewidth=1, alpha=1, color=col[0])
630 elif i == 1: 630 elif i == 1:
631 counts2 = ax2.bar(x, y, bottom=list_y[i-1], align="edge", width=0.8, 631 counts2 = ax2.bar(x, y, bottom=list_y[i-1], align="center", width=0.8,
632 edgecolor="black", label=label[1], 632 edgecolor="black", label=label[1],
633 linewidth=1, alpha=1, color=col[1]) 633 linewidth=1, alpha=1, color=col[1])
634 elif i == 2: 634 elif i == 2:
635 bars = numpy.add(list_y[0], list_y[1]).tolist() 635 bars = numpy.add(list_y[0], list_y[1]).tolist()
636 636
637 counts2 = ax2.bar(x, y, bottom=bars, align="edge", width=0.8, 637 counts2 = ax2.bar(x, y, bottom=bars, align="center", width=0.8,
638 edgecolor="black", label=label[2], 638 edgecolor="black", label=label[2],
639 linewidth=1, alpha=1, color=col[2]) 639 linewidth=1, alpha=1, color=col[2])
640 640
641 ax2.legend(loc='upper right', fontsize=14, frameon=True, bbox_to_anchor=(0.9, 1)) 641 ax2.legend(loc='upper right', fontsize=14, frameon=True, bbox_to_anchor=(0.9, 1))
642 642