From e6aa840633c4388bb09fde9bb269f6f9c1c16553 Mon Sep 17 00:00:00 2001 From: Theophile Terraz <theophile.terraz@inrae.fr> Date: Mon, 17 Feb 2025 10:02:44 +0100 Subject: [PATCH] debug custom plot (time) --- src/View/Results/CustomPlot/Plot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/View/Results/CustomPlot/Plot.py b/src/View/Results/CustomPlot/Plot.py index 7bc88998..4a52e6ff 100644 --- a/src/View/Results/CustomPlot/Plot.py +++ b/src/View/Results/CustomPlot/Plot.py @@ -1285,8 +1285,10 @@ class CustomPlot(PamhyrPlot): self.lines["wet_area"][0].set_ydata(d) + self._current.set_visible(False) self.canvas.axes.relim(visible_only=True) self.canvas.axes.autoscale_view() + self._current.set_visible(True) def draw(self): self.draw_static() -- GitLab