Commit 30ef0b5
committed
Replace safezip() by more informative error message in errorbar().
Currently, the error for mismatched shapes in errorbar is
```
ValueError: In safezip, len(args[0])=2 but len(args[1])=3
```
Replace it by
```
ValueError: The lengths of the data (2) and the error (3) do not match
```
and deprecate the not-so-informatively-named safezip.1 parent 2fe337c commit 30ef0b5
3 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3200 | 3200 | | |
3201 | 3201 | | |
3202 | 3202 | | |
3203 | | - | |
3204 | | - | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
| 3208 | + | |
| 3209 | + | |
3205 | 3210 | | |
3206 | 3211 | | |
3207 | 3212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
| 779 | + | |
779 | 780 | | |
780 | 781 | | |
781 | 782 | | |
| |||
0 commit comments