Commit 503af4b
committed
Deprecate column cycling when plot() inputs have nonmatching shapes.
Currently, something like
plot([[0, 1, 2], [3, 4, 5]], [[0, 1], [2, 3]])
will plot column 0 of x vs column 0 of y; column 1 of x vs column 1 of
y; and column 2 of x vs column 1 of y (i.e. cycle among columns). This
behavior appears to be error-prone to say the least.
Note that "normal" broadcasting (1->n) is not deprecated.1 parent 813d842 commit 503af4b
File tree
2 files changed
+10
-0
lines changed- doc/api/api_changes
- lib/matplotlib/axes
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
394 | 397 | | |
395 | 398 | | |
396 | 399 | | |
| |||
0 commit comments