Geometry: Orange color instead of red for interpolated profiles in the graph in geometry window

dev_dylan
Dylan Jeannin 2026-09-10 15:18:59 +02:00
parent 081e6e7322
commit e0bc481ae2
2 changed files with 8 additions and 2 deletions

View File

@ -216,7 +216,10 @@ class PlotRKZ(PamhyrPlot):
(i.row() for i in self.parent.tableView.selectedIndexes()) (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))] style = ["-" for row in range(len(self._data))]
if len(rows) > 0: if len(rows) > 0:
for row in rows: for row in rows:

View File

@ -201,7 +201,10 @@ class PlotXY(PamhyrPlot):
(i.row() for i in self.parent.tableView.selectedIndexes()) (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))] style = ["-" for row in range(len(self._data))]
if len(rows) > 0: if len(rows) > 0:
for row in rows: for row in rows: