From ccc6577bc27d2d9a575b080e7c5eca7608d38f46 Mon Sep 17 00:00:00 2001 From: Matthijs Pals <34062419+Matthijspals@users.noreply.github.com> Date: Thu, 4 Apr 2024 17:16:44 +0200 Subject: [PATCH] Update sbi/analysis/plot.py Co-authored-by: Jan --- sbi/analysis/plot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sbi/analysis/plot.py b/sbi/analysis/plot.py index 81f9ff4a8..9787e0225 100644 --- a/sbi/analysis/plot.py +++ b/sbi/analysis/plot.py @@ -484,8 +484,7 @@ def probs2contours( include a given proportion of samples, i.e., 0.1 specifies where the top 10% of the density is. Returns: - contors: array - Array of same shape as probs with percentile labels. Values in output array + contours: Array of same shape as probs with percentile labels. Values in output array denote labels which percentile bin the probability mass belongs to. Example: for levels = [0.1, 0.5], output array will take on values [1.0, 0.5, 0.1],