Skip to content

Commit 4754cc1

Browse files
author
Weh Andreas
committed
BUG: pass raw fixsize
1 parent f1ddbdf commit 4754cc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/pyplot.py

+1-1
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=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)