Add back `.default_view()` slice logic for `int` indexing

multichartz
Tyler Goodlet 2022-12-08 09:46:52 -05:00
parent 56a92f23cb
commit 8005253497
1 changed files with 2 additions and 0 deletions

View File

@ -892,6 +892,8 @@ class Viz(msgspec.Struct): # , frozen=True):
stop_t=vr,
step=step,
)
else:
read_slc = slice(0, datum_stop - datum_start + 1)
index_iv = array[index_field][read_slc]
uppx: float = self.graphics.x_uppx() or 1