mirror of https://gitlab.com/pamhyr/pamhyr2
Meshing: Debug error caused by index out of range when adding an empty transect on a reach
parent
2d5455c09d
commit
fa8948c1b6
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue