comparison fsd.py @ 35:56ad50707dc8 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 07:08:37 -0400
parents faa56fbf6b32
children 54ba0ad1263f
comparison
equal deleted inserted replaced
34:faa56fbf6b32 35:56ad50707dc8
365 edgecolor="black", label=label[i], alpha=0.8, color=colors[i]) 365 edgecolor="black", label=label[i], alpha=0.8, color=colors[i])
366 366
367 else: 367 else:
368 print("absolute") 368 print("absolute")
369 print(y.shape) 369 print(y.shape)
370 print(x.shape) 370 #print(x.shape)
371 print(y) 371 print(y)
372 y = list(y) 372 y = list(y.reshape((len(y))))
373
373 counts2 = ax.bar(x, y, align="edge", width=w, edgecolor="black", label=label[i], 374 counts2 = ax.bar(x, y, align="edge", width=w, edgecolor="black", label=label[i],
374 alpha=0.8, color=colors[i]) 375 alpha=0.8, color=colors[i])
375 if i == len(list_to_plot2): 376 if i == len(list_to_plot2):
376 barWidth += 1. / (len(list_to_plot) + 1) + 1. / (len(list_to_plot) + 1) 377 barWidth += 1. / (len(list_to_plot) + 1) + 1. / (len(list_to_plot) + 1)
377 else: 378 else: