mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-29 19:10:42 +01:00
Meshing: Debug error caused by index out of range when adding an empty transect on a reach
This commit is contained in:
1 parent
2d5455c09d
commit
fa8948c1b6
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user