Commit 51b6bc9
committed
BUG : improved input clean up in Axes.{h|v}line
- passing in a (N, 1) shaped array as input causes the zipping to
generate an extra dimension
- closes matplotlib#2197
- use ravel + reshape to do shape validation + getting rid of
extra dimension1 parent 8fc41f8 commit 51b6bc9
2 files changed
+12
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
10 | | - | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
955 | 955 | | |
956 | 956 | | |
957 | 957 | | |
958 | | - | |
959 | | - | |
960 | | - | |
| 958 | + | |
961 | 959 | | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
| 960 | + | |
| 961 | + | |
971 | 962 | | |
972 | 963 | | |
973 | 964 | | |
| |||
1044 | 1035 | | |
1045 | 1036 | | |
1046 | 1037 | | |
1047 | | - | |
1048 | | - | |
1049 | | - | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
1061 | 1041 | | |
1062 | 1042 | | |
1063 | | - | |
| 1043 | + | |
1064 | 1044 | | |
1065 | 1045 | | |
1066 | 1046 | | |
| |||
0 commit comments