Fix view range array to include most recent (facepalm)

big_data_lines
Tyler Goodlet 2022-04-04 10:14:46 -04:00
parent 82732e3f17
commit fdd5aa33d2
1 changed files with 1 additions and 1 deletions

View File

@ -1221,7 +1221,7 @@ class ChartPlotWidget(pg.PlotWidget):
# TODO: we could do it this way as well no?
# to_draw = array[lbar - ifirst:(rbar - ifirst) + 1]
in_view = array[lbar_i: rbar_i]
in_view = array[lbar_i: rbar_i + 1]
if not in_view.size:
return graphics