From 21bd87f74b35e2471b4789ad34c899a6f6bec2f1 Mon Sep 17 00:00:00 2001
From: Theophile Terraz <theophile.terraz@inrae.fr>
Date: Mon, 3 Feb 2025 11:17:19 +0100
Subject: [PATCH] debug

---
 src/View/Results/CustomPlot/Plot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/View/Results/CustomPlot/Plot.py b/src/View/Results/CustomPlot/Plot.py
index 41d1652d..28ae310c 100644
--- a/src/View/Results/CustomPlot/Plot.py
+++ b/src/View/Results/CustomPlot/Plot.py
@@ -641,7 +641,7 @@ class CustomPlot(PamhyrPlot):
         )
         if "bed_elevation" in self._y:
             if self._current_res_id != 2:
-                self.lines["bed_elevation"][0].set_ydata(z_min)
+                dz = z_min
             else:
                 if reach.has_sediment():
                     z_min1 = self.draw_bottom_with_bedload(reach1)
-- 
GitLab