Commit 3fa8f1e
committed
Deprecate axis_artist.BezierPath.
Throughout the library the advice to draw an arbitrary Path object is to
use PathPatch; there's no reason to do differently with a one-off class
in axisartist.
Technically that's an API break because the type of AxisArtist.line
changed, but most common APIs do overlap (e.g. `set_color`, which is
exercised by the tests) so I'm not going to bother with a deprecation
period which would be quite painful (likely involving a global rcParam
controlling the switch from the old API to the new one).1 parent 886983d commit 3fa8f1e
3 files changed
Lines changed: 17 additions & 1 deletion
File tree
- doc/api/next_api_changes
- lib
- matplotlib
- mpl_toolkits/axisartist
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
941 | 941 | | |
942 | 942 | | |
943 | 943 | | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
944 | 947 | | |
945 | 948 | | |
946 | 949 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
926 | 928 | | |
927 | 929 | | |
928 | 930 | | |
929 | | - | |
| 931 | + | |
930 | 932 | | |
931 | 933 | | |
| 934 | + | |
932 | 935 | | |
| 936 | + | |
| 937 | + | |
933 | 938 | | |
934 | 939 | | |
935 | 940 | | |
| |||
0 commit comments