From e3f8ca3c3b4f2257975a5339186a8848414343ef Mon Sep 17 00:00:00 2001
From: ahmedk <karim.ahmed@xfel.eu>
Date: Thu, 30 May 2024 20:05:15 +0200
Subject: [PATCH] fix: copy paste curse

---
 notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb
index ebb39ed53..574ce6a6b 100644
--- a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb
+++ b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb
@@ -1063,7 +1063,7 @@
     "    bins=(100, 100),\n",
     "    range=[\n",
     "        np.percentile(signal, [0.02, 99.8]),\n",
-    "        np.percentile(signal, [0.02, 99.8]),\n",
+    "        np.percentile(gain, [0.02, 99.8]),\n",
     "        ],\n",
     "    )\n",
     "    do_2d_plot(hist, (bins_x, bins_y), \"Signal (ADU)\", \"Analogue gain (ADU)\")"
-- 
GitLab