Commit d2569a3
committed
Clarify semantics of plt.matshow(..., fignum=...).
The semantics of the fignum parameter are rather confusing (in
particular wrt. whether the figure gets resized or not -- it only does
if fignum=(None or a non-existing figure number) (which creates a new
figure), but not if fignum=0 (which also creates a new figure).
It's probably not worth fixing that (if anything we should just point
users to Axes.matshow, which is just fine), but we can still improve the
documentation.1 parent e5c6c7c commit d2569a3
1 file changed
+7
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2412 | 2412 | | |
2413 | 2413 | | |
2414 | 2414 | | |
2415 | | - | |
| 2415 | + | |
2416 | 2416 | | |
2417 | | - | |
2418 | | - | |
| 2417 | + | |
| 2418 | + | |
2419 | 2419 | | |
2420 | | - | |
2421 | | - | |
2422 | | - | |
2423 | | - | |
2424 | | - | |
2425 | | - | |
2426 | | - | |
| 2420 | + | |
| 2421 | + | |
| 2422 | + | |
| 2423 | + | |
2427 | 2424 | | |
2428 | 2425 | | |
2429 | 2426 | | |
| |||
0 commit comments