From d28c2bb157d5810272872031150d0d97eff0eebf Mon Sep 17 00:00:00 2001
From: Philipp Schmidt <philipp.schmidt@xfel.eu>
Date: Thu, 8 Jun 2023 09:03:29 +0200
Subject: [PATCH] Fix y axis limits for REMI pulse height distribution plot

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

diff --git a/notebooks/REMI/REMI_Digitize_and_Transform.ipynb b/notebooks/REMI/REMI_Digitize_and_Transform.ipynb
index ddb1c0c17..6513c66e9 100644
--- a/notebooks/REMI/REMI_Digitize_and_Transform.ipynb
+++ b/notebooks/REMI/REMI_Digitize_and_Transform.ipynb
@@ -593,7 +593,7 @@
     "    ux.set_xlabel('Pulse height')\n",
     "    ux.set_yscale('log')\n",
     "    ux.set_xlim(0, 2048)\n",
-    "    ux.set_ylim(10, 1.5*ux.get_xlim()[1])\n",
+    "    ux.set_ylim(10, 1.5*ux.get_ylim()[1])\n",
     "    \n",
     "    bx.set_title('Fractional edge distributions')\n",
     "    bx.set_xlabel('Edge positions - ⌊edge positions⌋')\n",
-- 
GitLab