Stop if we run out of tickmark frequencies
This commit is contained in:
parent
62b22d7516
commit
d3a439bb49
|
@ -171,7 +171,7 @@ class TimeSeries(Widget):
|
|||
min_step = 25
|
||||
steps = ("s", "m", "h", "D", "10D", "M", "Y")
|
||||
step_i = 0
|
||||
while True:
|
||||
while step_i < len(steps):
|
||||
t0 = tickmarks[-1]["t"]
|
||||
x0 = tickmarks[-1]["x"]
|
||||
d0 = datetime.datetime.fromtimestamp(t0)
|
||||
|
|
Loading…
Reference in New Issue