We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73e49de commit 2786c30Copy full SHA for 2786c30
sainsc/lazykde/_utils.py
@@ -18,8 +18,8 @@
18
"""Default scalebar parameters"""
19
20
21
-def _get_cell_dtype(n: int) -> np.dtype:
22
- return np.result_type("int8", n)
+def _get_cell_dtype(n: int) -> np.dtype[np.signedinteger]:
+ return np.result_type(np.int8, n)
23
24
25
def _filter_blobs(labeled_map: NDArray[U], min_blob_area: int) -> NDArray[U]:
0 commit comments