Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a69c6f

Browse files
committed
BUG: specify datatype correctly
1 parent 06a821b commit 0a69c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/figure.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,4 +420,4 @@ class Figure(FigureBase):
420420

421421
def figaspect(
422422
arg: float | ArrayLike,
423-
) -> np.ndarray[tuple[Literal[2]], np.dtype[float]]: ...
423+
) -> np.ndarray[tuple[Literal[2]], np.dtype[np.float64]]: ...

0 commit comments

Comments
 (0)