Commit 01aedbc
committed
Add Axis.get_inverted and Axis.set_inverted.
See rationale in changelog note (basically, Axes.invert_xaxis is fine
for interactive use, but a bit of a pain for library-work).
Note that xaxis_inverted is now implemented in terms of get_inverted and
invert_xaxis in terms of set_inverted, so the new methods are properly
tested.1 parent 623b789 commit 01aedbc
3 files changed
Lines changed: 40 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2998 | 2998 | | |
2999 | 2999 | | |
3000 | 3000 | | |
3001 | | - | |
| 3001 | + | |
3002 | 3002 | | |
3003 | 3003 | | |
3004 | 3004 | | |
| |||
3012 | 3012 | | |
3013 | 3013 | | |
3014 | 3014 | | |
3015 | | - | |
3016 | | - | |
| 3015 | + | |
3017 | 3016 | | |
3018 | 3017 | | |
3019 | 3018 | | |
| |||
3404 | 3403 | | |
3405 | 3404 | | |
3406 | 3405 | | |
3407 | | - | |
| 3406 | + | |
3408 | 3407 | | |
3409 | 3408 | | |
3410 | 3409 | | |
| |||
3418 | 3417 | | |
3419 | 3418 | | |
3420 | 3419 | | |
3421 | | - | |
3422 | | - | |
| 3420 | + | |
3423 | 3421 | | |
3424 | 3422 | | |
3425 | 3423 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
912 | 937 | | |
913 | 938 | | |
914 | 939 | | |
| |||
0 commit comments