Facepalm, get the first x value not the array..

slic_fix_v2
Tyler Goodlet 2022-06-22 18:53:48 -04:00
parent 14c98d82ee
commit afc95b8592
1 changed files with 3 additions and 1 deletions
piker/ui

View File

@ -753,7 +753,9 @@ class Flow(msgspec.Struct): # , frozen=True):
try:
iuppx = x[-uppx]
except IndexError:
iuppx = x
# we're less then an x-px wide so just grab the start
# datum index.
iuppx = x[0]
dsg._last_line = QLineF(
iuppx, ymn,