Skip to content

Commit 18a563c

Browse files
authored
chore: fix typing for cc3d.statistics (#151)
1 parent 8f73d52 commit 18a563c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cc3d/fastcc3d.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,12 @@ def region_graph(
240240
def statistics(
241241
out_labels: NDArray[Any],
242242
no_slice_conversion: Literal[False] = False,
243-
) -> StatisticsDict: ...
243+
) -> StatisticsSlicesDict: ...
244244
@overload
245245
def statistics(
246246
out_labels: NDArray[Any],
247247
no_slice_conversion: Literal[True],
248-
) -> StatisticsSlicesDict: ...
248+
) -> StatisticsDict: ...
249249
def statistics( # type: ignore[misc]
250250
out_labels: NDArray[Any],
251251
no_slice_conversion: bool = False,

0 commit comments

Comments
 (0)