Skip to content

Commit

Permalink
add alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
sfchen committed May 4, 2016
1 parent a348671 commit 119aace
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qualitycontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def plotQuality(self, filename):
plt.ylabel('Quality')
plt.xlabel('Base')
for base in ALL_BASES:
plt.plot(x, self.baseMeanQual[base][0:self.readLen], color = colors[base], label=base)
plt.plot(x, self.baseMeanQual[base][0:self.readLen], color = colors[base], label=base, alpha=0.3)
plt.plot(x, self.meanQual[0:self.readLen], color = 'black', label = 'mean')
plt.legend(loc='upper right', ncol=5)
plt.savefig(filename)
Expand All @@ -109,7 +109,7 @@ def plotContent(self, filename):
plt.ylabel('Percents')
plt.xlabel('Base')
for base in ALL_BASES:
plt.plot(x, self.percents[base][0:self.readLen], color = colors[base], label=base)
plt.plot(x, self.percents[base][0:self.readLen], color = colors[base], label=base, alpha=0.5)
plt.plot(x, self.gcPercents[0:self.readLen], color = 'black', label='GC')
plt.legend(loc='upper right', ncol=5)
plt.savefig(filename)
Expand Down

0 comments on commit 119aace

Please sign in to comment.