File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Original file line number Diff line number Diff line change @@ -2413,18 +2413,15 @@ def matshow(A: ArrayLike, fignum: None | int = None, **kwargs) -> AxesImage:
2413
2413
The matrix to be displayed.
2414
2414
2415
2415
fignum : None or int
2416
- If *None*, create a new figure window with automatic numbering .
2416
+ If *None*, create a new, appropriately sized figure window .
2417
2417
2418
- If a nonzero integer, draw into the figure with the given number
2419
- (create it if it does not exist ).
2418
+ If 0, use the current Axes (creating one if there is none, without ever
2419
+ adjusting the figure size ).
2420
2420
2421
- If 0, use the current axes (or create one if it does not exist).
2422
-
2423
- .. note::
2424
-
2425
- Because of how `.Axes.matshow` tries to set the figure aspect
2426
- ratio to be the one of the array, strange things may happen if you
2427
- reuse an existing figure.
2421
+ Otherwise, create a new Axes on the figure with the given number
2422
+ (creating it at the appropriate size if it does not exist, but not
2423
+ adjusting the figure size otherwise). Note that this will be drawn on
2424
+ top of any preexisting Axes on the figure.
2428
2425
2429
2426
Returns
2430
2427
-------
You can’t perform that action at this time.
0 commit comments