Mercurial > repos > glogobyte > isoread
comparison mirbase_graphs.py @ 22:958330b9bce3 draft
Uploaded
| author | glogobyte |
|---|---|
| date | Wed, 20 Oct 2021 12:11:30 +0000 |
| parents | 3dd4977f3277 |
| children | 01e56d0bc409 |
comparison
equal
deleted
inserted
replaced
| 21:476121298816 | 22:958330b9bce3 |
|---|---|
| 86 colors = ['gold', 'yellowgreen', 'lightcoral', 'lightskyblue'] | 86 colors = ['gold', 'yellowgreen', 'lightcoral', 'lightskyblue'] |
| 87 ax1 = plt.subplot2grid((1,2),(0,0)) | 87 ax1 = plt.subplot2grid((1,2),(0,0)) |
| 88 patches, texts, autotexts=plt.pie(sizes, labels=labels, colors=colors, startangle=140,autopct='%1.1f%%',radius=0.8) | 88 patches, texts, autotexts=plt.pie(sizes, labels=labels, colors=colors, startangle=140,autopct='%1.1f%%',radius=0.8) |
| 89 [x.set_fontsize(10) for x in texts] | 89 [x.set_fontsize(10) for x in texts] |
| 90 plt.title(group_name1.capitalize() + ' group (reads)',fontsize=12) | 90 plt.title(group_name1.capitalize() + ' group (reads)',fontsize=12) |
| 91 labels = 'miRNA RefSeq','templated', 'Unassigned','non-templated' | 91 labels = 'miRNA RefSeq','templated', 'unassigned','non-templated' |
| 92 sizes = [t_mat_counts, t_tem_counts, t_unmap_counts, t_non_counts] | 92 sizes = [t_mat_counts, t_tem_counts, t_unmap_counts, t_non_counts] |
| 93 colors = ['gold', 'yellowgreen', 'lightcoral', 'lightskyblue'] | 93 colors = ['gold', 'yellowgreen', 'lightcoral', 'lightskyblue'] |
| 94 ax2 = plt.subplot2grid((1,2),(0,1)) | 94 ax2 = plt.subplot2grid((1,2),(0,1)) |
| 95 patches, texts, autotexts=plt.pie(sizes, labels=labels, colors=colors, startangle=140,autopct='%1.1f%%',radius=0.8) | 95 patches, texts, autotexts=plt.pie(sizes, labels=labels, colors=colors, startangle=140,autopct='%1.1f%%',radius=0.8) |
| 96 [x.set_fontsize(10) for x in texts] | 96 [x.set_fontsize(10) for x in texts] |
