From bf6d40f398bedbc3ad7ff18023e461e5dfc6b94e Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby Date: Tue, 8 Sep 2026 17:50:51 +0200 Subject: [PATCH] Ensemble: Results: PlotRKC: Add legend. --- src/View/Results/PlotRKCEnsemble.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/View/Results/PlotRKCEnsemble.py b/src/View/Results/PlotRKCEnsemble.py index 3b38cf7c..bcfba2bd 100644 --- a/src/View/Results/PlotRKCEnsemble.py +++ b/src/View/Results/PlotRKCEnsemble.py @@ -91,7 +91,7 @@ class PlotRKCEnsemble(PamhyrPlot): self.draw_current(reach) self.draw_profiles_hs(reach) - # self.enable_legend() + self.enable_legend() self.idle() self._init = True @@ -167,6 +167,7 @@ class PlotRKCEnsemble(PamhyrPlot): rk, water_z, lw=1., color=color, linestyle='dotted', + label=f"Elevation: {t} (m)", ) def draw_additional_data(self, run_id):