Array diff lengths must be int

mkts_backup
Tyler Goodlet 2022-03-11 16:49:58 -05:00
parent 77a7b73260
commit 1b1bf07f54
1 changed files with 2 additions and 2 deletions

View File

@ -191,8 +191,8 @@ class FastAppendCurve(pg.PlotCurveItem):
# compute the length diffs between the first/last index entry in # compute the length diffs between the first/last index entry in
# the input data and the last indexes we have on record from the # the input data and the last indexes we have on record from the
# last time we updated the curve index. # last time we updated the curve index.
prepend_length = istart - x[0] prepend_length = int(istart - x[0])
append_length = x[-1] - istop append_length = int(x[-1] - istop)
# step mode: draw flat top discrete "step" # step mode: draw flat top discrete "step"
# over the index space for each datum. # over the index space for each datum.