Add back `.default_view()` slice logic for `int` indexing
parent
35a16ded2d
commit
2a797d32dc
|
@ -892,6 +892,8 @@ class Viz(msgspec.Struct): # , frozen=True):
|
||||||
stop_t=vr,
|
stop_t=vr,
|
||||||
step=step,
|
step=step,
|
||||||
)
|
)
|
||||||
|
else:
|
||||||
|
read_slc = slice(0, datum_stop - datum_start + 1)
|
||||||
|
|
||||||
index_iv = array[index_field][read_slc]
|
index_iv = array[index_field][read_slc]
|
||||||
uppx: float = self.graphics.x_uppx() or 1
|
uppx: float = self.graphics.x_uppx() or 1
|
||||||
|
|
Loading…
Reference in New Issue