geometry: Fix index 0 on plot and minor change.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-04-19 13:49:14 +02:00
1 parent 12814f82c8
commit c3954208a6
4 files changed
+17 -17

No files matched your search

+1 -1
View File
@@ -285,7 +285,7 @@ class PlotAC(APlot):
@timer
def update(self, ind=None):
if ind:
if ind is not None:
before = ind - 1
after = ind + 1