From 40757b949d509a7aeaf7f61fa5158dc404389867 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby Date: Mon, 29 Jan 2024 16:37:42 +0100 Subject: [PATCH] Results: Fix axes previous line. --- src/View/Results/CustomPlot/Plot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/View/Results/CustomPlot/Plot.py b/src/View/Results/CustomPlot/Plot.py index 80dcf550..4610900c 100644 --- a/src/View/Results/CustomPlot/Plot.py +++ b/src/View/Results/CustomPlot/Plot.py @@ -302,6 +302,7 @@ class CustomPlot(PamhyrPlot): for axes in self._y_axes[1:]: if axes in self._axes: + self._axes[axes].clear() continue ax_new = self.canvas.axes.twinx()