Commit 3ac96eb
committed
Define autoscale() based on autoscale_None().
They're the same if autoscale() first resets vmin/vmax to None. This
ensures e.g. that the exact semantics of fully invalid arrays
(in_trf_range is empty) for make_norm_from_scale are consistent between
the two methods.1 parent d09526f commit 3ac96eb
1 file changed
Lines changed: 3 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1371 | 1371 | | |
1372 | 1372 | | |
1373 | 1373 | | |
1374 | | - | |
1375 | | - | |
1376 | | - | |
| 1374 | + | |
| 1375 | + | |
1377 | 1376 | | |
1378 | 1377 | | |
1379 | 1378 | | |
| |||
1715 | 1714 | | |
1716 | 1715 | | |
1717 | 1716 | | |
1718 | | - | |
1719 | | - | |
1720 | | - | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
1724 | | - | |
1725 | 1717 | | |
| 1718 | + | |
1726 | 1719 | | |
1727 | 1720 | | |
1728 | 1721 | | |
| |||
0 commit comments