Commit c51aa67
committed
Return minorticks as array, not as list.
The return type changed accidentally when remove_overlapping_locs was
introduced (except for NullLocator, which always returned a plain list).
Make the API consistent with majorticks, which are (mostly) always
returned as an array.
Modifying the test in test_colorbar is so-so, but that's the only place,
AFAICT, that currently tests anything with get_ticklocs(minor=True),
so...1 parent f96eb63 commit c51aa67
2 files changed
+13
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1269 | 1269 | | |
1270 | 1270 | | |
1271 | 1271 | | |
1272 | | - | |
1273 | | - | |
1274 | | - | |
1275 | | - | |
1276 | | - | |
1277 | | - | |
1278 | | - | |
1279 | | - | |
1280 | | - | |
| 1272 | + | |
1281 | 1273 | | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
1285 | 1285 | | |
1286 | 1286 | | |
1287 | 1287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
| 611 | + | |
611 | 612 | | |
612 | 613 | | |
613 | 614 | | |
| |||
0 commit comments