mirror of https://gitlab.com/pamhyr/pamhyr2
BC, LC: Minor fix in plot.
parent
f1d82b2f86
commit
906ea621b6
|
|
@ -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(
|
||||||
|
|
|
||||||
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue