From 2e360943b28fbd16f6c1d1a408ce3907e0c20ae5 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby Date: Wed, 12 Nov 2025 11:42:46 +0100 Subject: [PATCH] GeoTIFF: Switch PlotXY to display all river reaches. --- src/View/GeoTIFF/Edit/Window.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/View/GeoTIFF/Edit/Window.py b/src/View/GeoTIFF/Edit/Window.py index 299c3bdb..8559710f 100644 --- a/src/View/GeoTIFF/Edit/Window.py +++ b/src/View/GeoTIFF/Edit/Window.py @@ -36,7 +36,7 @@ from View.GeoTIFF.UndoCommand import ( ) from View.Tools.Plot.PamhyrCanvas import MplCanvas -from View.LateralContribution.PlotXY import PlotXY +from View.PlotXY import PlotXY try: import rasterio @@ -90,11 +90,12 @@ class EditGeoTIFFWindow(PamhyrWindow): self.plot = PlotXY( canvas=self.canvas, - data=None, + data=self._study.river.enable_edges(), trad=self._trad, toolbar=None, parent=self ) + self.plot.update() self._plot_img = None