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

epoch_indexing_and_dataviz_layer
Tyler Goodlet 2022-12-08 09:46:52 -05:00
parent 35a16ded2d
commit 2a797d32dc
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