Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

Commit

Permalink
Update Figure_4_rendering.py
Browse files Browse the repository at this point in the history
Corrected for multipanel model
  • Loading branch information
celiosantosjr authored Oct 13, 2020
1 parent b127bd6 commit f34a2c7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Figure_4_rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,22 +481,22 @@
sns.stripplot(data=smorfs, ax=smorfs_ax, size=4)
sns.boxplot(data=smorfs, ax=smorfs_ax, color='white', width=.2)
smorfs_ax.set_ylabel('smORFs\n(1,000s)')
smorfs_ax.set_title('a)', loc='left')
smorfs_ax.set_title('A', loc='left')

sns.stripplot(data=n_amps, ax=amps_ax, size=4)
sns.boxplot(data=n_amps, ax=amps_ax, color='white', width=.2)
amps_ax.set_ylabel('AMPs\n(count)')
amps_ax.set_title('b)', loc='left')
amps_ax.set_title('B', loc='left')

sns.stripplot(data=found_ref, ax=found_ax, size=4)
sns.boxplot(data=found_ref, ax=found_ax, color='white', width=.2)
found_ax.set_ylabel('AMPs found\nin reference (%)')
found_ax.set_title('c)', loc='left')
found_ax.set_title('C', loc='left')

sns.stripplot(data=spurious_per, ax=spurious_ax, size=4)
sns.boxplot(data=spurious_per, ax=spurious_ax, color='white', width=.2)
spurious_ax.set_ylabel('Spurious\n(% of AMPs)')
spurious_ax.set_title('d)', loc='left')
spurious_ax.set_title('D', loc='left')

sns.boxplot(x='X',
hue='label',
Expand All @@ -513,14 +513,14 @@
ax=coverage_ax,
size=2)
coverage_ax.set_ylabel(' Coverage\n(reads per million)')
coverage_ax.set_title('e)', loc='left')
coverage_ax.set_title('E', loc='left')
coverage_ax.set_xlabel("Nr reads (millions)")
coverage_ax.set_yscale('log')

sns.stripplot(data=time_in_h, ax=time_ax, size=4)
sns.boxplot(data=time_in_h, ax=time_ax, color='white', width=.2)
time_ax.set_ylabel('Walltime (h)')
time_ax.set_title('f)', loc='left')
time_ax.set_title('F', loc='left')
time_ax.set_xlabel("Nr reads (millions)")

sns.despine(fig, trim=True)
Expand Down

0 comments on commit f34a2c7

Please sign in to comment.