From aa78cb9abd0322cc073b3ccafeb633113050c093 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nahuel=20Unai=20Rosell=C3=B3=20Beneitez?= Date: Fri, 19 Jul 2024 07:07:49 -0400 Subject: [PATCH] Revert clip removal --- mm/alignment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/alignment.py b/mm/alignment.py index 6a647dda..925a8830 100644 --- a/mm/alignment.py +++ b/mm/alignment.py @@ -166,6 +166,7 @@ def plot(self): # Plot the data. matplotlib.use("Agg") + np.clip(np_alignment_scores, np_alignment_scores.min(), higher_percentile, out=np_alignment_scores) plt.hist(np_alignment_scores, bins=100) plt.xlabel("Average Maximum-Likelihood Score") plt.ylabel("Number of Segments")