Skip to content

Commit d35dee7

Browse files
committed
Corrected axis labeling in SILAC_labeling_efficiency
1 parent ce870a1 commit d35dee7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

autoprot/analysis/qc.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -524,9 +524,6 @@ def SILAC_labeling_efficiency(
524524
"91-100",
525525
]
526526
)
527-
ax.set_xlabel(
528-
"bins",
529-
)
530527

531528
# set minor yticks every 10 percent
532529
ax.yaxis.set_minor_locator(plt.MultipleLocator(10))
@@ -535,7 +532,8 @@ def SILAC_labeling_efficiency(
535532
# activate grid on all yticks
536533
ax.grid(which="both", axis="y", linestyle="--", linewidth=0.5)
537534

538-
ax.set_ylabel(f"{label} {aa} [%]")
535+
ax.set_xlabel(f"{label} {aa} [%]")
536+
ax.set_ylabel("Share of peptides [%]")
539537
ax.set_ylim(0, 100)
540538
plt.tight_layout()
541539

0 commit comments

Comments
 (0)