Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5e2e7cb

Browse files
committed
TYP: try to satisfy mypy
1 parent0a69c6f commit5e2e7cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2665,7 +2665,7 @@ def matshow(A: ArrayLike, fignum: None | int = None, **kwargs) -> AxesImage:
26652665
else:
26662666
# Extract actual aspect ratio of array and make appropriately sized
26672667
# figure.
2668-
fig=figure(fignum,figsize=tuple(figaspect(A)))
2668+
fig=figure(fignum,figsize=tuple(*figaspect(A)))
26692669
ax=fig.add_axes((0.15,0.09,0.775,0.775))
26702670
im=ax.matshow(A,**kwargs)
26712671
sci(im)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp