Meshing: Debug error caused by index out of range when adding an empty transect on a reach

scenarios
Dylan Jeannin 2026-06-22 15:18:08 +02:00
parent 2d5455c09d
commit fa8948c1b6
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class PlotAC(PamhyrPlot):
]
else:
color = self.color_incomplete_gl[
lincomplete.index(txt)
lincomplete.index(txt) % len(self.color_incomplete_gl)
]
annotation = self.canvas.axes.annotate(