Skip to content

Commit 06233c9

Browse files
committed
v2.7.2
1 parent 9d6f0a7 commit 06233c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Scripts/AlignReads.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,10 @@ def MapAndCount(sample):
301301
# Show plot
302302
fig = plt.figure(figsize=(6,5))
303303
ax = fig.gca(projection='3d')
304-
ax.bar3d(X,Y,Z_off,dX,dY,Z,color='#00FF00')
305-
green_proxy = plt.Rectangle((0, 0), 1, 1, fc='#00FF00')
306-
ax.bar3d(x,y,z_off,dx,dy,z,color='#FF3333')
307-
red_proxy = plt.Rectangle((0, 0), 1, 1, fc='#FF3333')
304+
ax.bar3d(X,Y,Z_off,dX,dY,Z, color=(97/255, 252/255, 80/255)) # bar3d has a bug with hex code
305+
green_proxy = plt.Rectangle((0, 0), 1, 1, fc=(97/255, 252/255, 80/255))
306+
ax.bar3d(x,y,z_off,dx,dy,z,color=(255/255, 51/255, 51/255))
307+
red_proxy = plt.Rectangle((0, 0), 1, 1, fc=(255/255, 51/255, 51/255))
308308
ax.legend([green_proxy,red_proxy],['Reads Accepted','Reads Discarded'],loc='upper left',prop={'size':10})
309309
ax.set_title('Alignment Analysis',fontsize=14)
310310
ax.set_xlabel('Prim. Alignment Score', fontsize=12)

0 commit comments

Comments
 (0)