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

This commit is contained in:
Dylan Jeannin committed 2026-09-10 15:18:59 +02:00
1 parent 081e6e7322
commit e0bc481ae2
2 files changed
+8 -2

No files matched your search

+4 -1
View File
@@ -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:
+4 -1
View File
@@ -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: