Commit 906ea621 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

BC, LC: Minor fix in plot.

Showing with 2 additions and 0 deletions
+2 -0
...@@ -28,6 +28,7 @@ class Plot(APlot): ...@@ -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): ...@@ -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(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment