BC, LC: Minor fix in plot.

mesh
Pierre-Antoine Rouby 2023-05-12 16:44:19 +02:00
parent f1d82b2f86
commit 906ea621b6
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ class Plot(APlot):
t0 = datetime.fromtimestamp(0) t0 = datetime.fromtimestamp(0)
nb = len(self.data.data) nb = len(self.data.data)
mod = int(nb / 5) mod = int(nb / 5)
mod = mod if mod > 0 else nb
fx = list( fx = list(
map( map(

View File

@ -28,6 +28,7 @@ class Plot(APlot):
t0 = datetime.fromtimestamp(0) t0 = datetime.fromtimestamp(0)
nb = len(self.data.data) nb = len(self.data.data)
mod = int(nb / 5) mod = int(nb / 5)
mod = mod if mod > 0 else nb
fx = list( fx = list(
map( map(