From e0bc481ae202e51a50e0ff80727f6891eeb1a3b2 Mon Sep 17 00:00:00 2001 From: Dylan Jeannin Date: Thu, 10 Sep 2026 15:18:59 +0200 Subject: [PATCH] Geometry: Orange color instead of red for interpolated profiles in the graph in geometry window --- src/View/Geometry/PlotRKZ.py | 5 ++++- src/View/Geometry/PlotXY.py | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/View/Geometry/PlotRKZ.py b/src/View/Geometry/PlotRKZ.py index a3bf8d1a..4b1c3772 100644 --- a/src/View/Geometry/PlotRKZ.py +++ b/src/View/Geometry/PlotRKZ.py @@ -216,7 +216,10 @@ class PlotRKZ(PamhyrPlot): (i.row() for i in self.parent.tableView.selectedIndexes()) ) )) - colors = [self.color_plot for row in range(len(self._data))] + colors = [ + "darkorange" if profile.interpolated else self.color_plot + for profile in self._data.profiles + ] style = ["-" for row in range(len(self._data))] if len(rows) > 0: for row in rows: diff --git a/src/View/Geometry/PlotXY.py b/src/View/Geometry/PlotXY.py index dba2b394..c2f8c2d4 100644 --- a/src/View/Geometry/PlotXY.py +++ b/src/View/Geometry/PlotXY.py @@ -201,7 +201,10 @@ class PlotXY(PamhyrPlot): (i.row() for i in self.parent.tableView.selectedIndexes()) ) )) - colors = [self.color_plot for row in range(len(self._data))] + colors = [ + "darkorange" if profile.interpolated else self.color_plot + for profile in self._data.profiles + ] style = ["-" for row in range(len(self._data))] if len(rows) > 0: for row in rows: