Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commitd3d9fad
committed
Prefer warn_deprecated instead of warnings.warn.
warn_deprecated has the advantage of always listing the deprecationversion and removal version. Hopefully, in the future it will also beable to set the stacklevel more systematically.Redesign the way deprecation of rcParams is done to make it usewarn_deprecated. Merge obsolete_set into deprecated_ignore_map as theyare semantically similar, it's just that there's no alternative rcParamfor obsolete_set. Rename deprecated_set to deprecated_remain_as_none asthe former name really doesn't say anything about the deprecationsemantics.text.dvipnghack and axes.hold should be completely removed but that'llbe another PR.1 parent1e6790f commitd3d9fad
File tree
7 files changed
+96
-81
lines changed- doc/api/next_api_changes
- lib/matplotlib
- axes
- cbook
- tests
7 files changed
+96
-81
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 |
| |
14 | 17 |
| |
15 | 18 |
| |
|
Lines changed: 80 additions & 68 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
126 |
| - | |
127 | 126 |
| |
128 | 127 |
| |
129 | 128 |
| |
130 | 129 |
| |
| 130 | + | |
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
| |||
800 | 800 |
| |
801 | 801 |
| |
802 | 802 |
| |
803 |
| - | |
804 |
| - | |
805 |
| - | |
| 803 | + | |
| 804 | + | |
806 | 805 |
| |
807 | 806 |
| |
808 |
| - | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
809 | 815 |
| |
810 |
| - | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
811 | 824 |
| |
812 |
| - | |
813 |
| - | |
814 |
| - | |
815 |
| - | |
816 |
| - | |
817 |
| - | |
818 |
| - | |
819 |
| - | |
| 825 | + | |
820 | 826 |
| |
821 | 827 |
| |
822 | 828 |
| |
| |||
831 | 837 |
| |
832 | 838 |
| |
833 | 839 |
| |
834 |
| - | |
835 |
| - | |
836 |
| - | |
837 |
| - | |
838 |
| - | |
839 |
| - | |
840 |
| - | |
841 |
| - | |
842 |
| - | |
843 |
| - | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
844 | 869 |
| |
845 | 870 |
| |
846 | 871 |
| |
| |||
849 | 874 |
| |
850 | 875 |
| |
851 | 876 |
| |
852 |
| - | |
853 |
| - | |
854 |
| - | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
855 | 880 |
| |
856 | 881 |
| |
857 |
| - | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
858 | 885 |
| |
859 |
| - | |
860 |
| - | |
861 |
| - | |
862 |
| - | |
863 |
| - | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
864 | 892 |
| |
865 |
| - | |
866 |
| - | |
867 |
| - | |
868 |
| - | |
869 |
| - | |
870 |
| - | |
871 |
| - | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
872 | 896 |
| |
873 | 897 |
| |
874 | 898 |
| |
| |||
881 | 905 |
| |
882 | 906 |
| |
883 | 907 |
| |
884 |
| - | |
885 | 908 |
| |
886 |
| - | |
887 |
| - | |
888 |
| - | |
889 |
| - | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
890 | 913 |
| |
891 | 914 |
| |
892 |
| - | |
893 |
| - | |
894 |
| - | |
895 |
| - | |
896 |
| - | |
897 |
| - | |
898 |
| - | |
899 |
| - | |
900 |
| - | |
901 |
| - | |
902 |
| - | |
903 |
| - | |
904 |
| - | |
905 |
| - | |
906 |
| - | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
907 | 921 |
| |
908 | 922 |
| |
909 |
| - | |
910 | 923 |
| |
911 | 924 |
| |
912 | 925 |
| |
913 | 926 |
| |
914 | 927 |
| |
915 |
| - | |
| 928 | + | |
916 | 929 |
| |
917 | 930 |
| |
918 |
| - | |
919 |
| - | |
| 931 | + | |
920 | 932 |
| |
921 | 933 |
| |
922 | 934 |
| |
| |||
1043 | 1055 |
| |
1044 | 1056 |
| |
1045 | 1057 |
| |
1046 |
| - | |
1047 |
| - | |
1048 |
| - | |
1049 |
| - | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
1050 | 1062 |
| |
1051 | 1063 |
| |
1052 | 1064 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1334 | 1334 |
| |
1335 | 1335 |
| |
1336 | 1336 |
| |
1337 |
| - | |
1338 |
| - | |
| 1337 | + | |
| 1338 | + | |
1339 | 1339 |
| |
1340 | 1340 |
| |
1341 | 1341 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
8 | 7 |
| |
9 | 8 |
| |
10 | 9 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
| 44 | + | |
44 | 45 |
| |
45 | 46 |
| |
46 | 47 |
| |
| |||
99 | 100 |
| |
100 | 101 |
| |
101 | 102 |
| |
102 |
| - | |
| 103 | + | |
| 104 | + | |
103 | 105 |
| |
104 | 106 |
| |
105 | 107 |
| |
|
Lines changed: 4 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
27 | 26 |
| |
28 | 27 |
| |
29 | 28 |
| |
| |||
265 | 264 |
| |
266 | 265 |
| |
267 | 266 |
| |
268 |
| - | |
269 |
| - | |
| 267 | + | |
| 268 | + | |
270 | 269 |
| |
271 | 270 |
| |
272 | 271 |
| |
| |||
355 | 354 |
| |
356 | 355 |
| |
357 | 356 |
| |
358 |
| - | |
359 |
| - | |
| 357 | + | |
| 358 | + | |
360 | 359 |
| |
361 | 360 |
| |
362 | 361 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
458 | 458 |
| |
459 | 459 |
| |
460 | 460 |
| |
461 |
| - | |
| 461 | + | |
462 | 462 |
| |
463 | 463 |
| |
464 | 464 |
| |
| |||
477 | 477 |
| |
478 | 478 |
| |
479 | 479 |
| |
480 |
| - | |
481 |
| - | |
| 480 | + | |
| 481 | + | |
482 | 482 |
| |
483 | 483 |
| |
484 | 484 |
| |
|
0 commit comments
Comments
(0)