Fix return type annot for `slice_from_time()`

multichartz
Tyler Goodlet 2023-01-24 13:03:59 -05:00
parent e0381e49a9
commit 5a08ccc6a3
1 changed files with 1 additions and 4 deletions

View File

@ -297,10 +297,7 @@ def slice_from_time(
stop_t: float,
step: int | None = None,
) -> tuple[
slice,
slice,
]:
) -> slice:
'''
Calculate array indices mapped from a time range and return them in
a slice.