Commit e07e3a4
committed
Deprecate additional positional args to plot_{surface,wireframe}.
Previously, a 4th positional parameter to plot_surface would be
nonsensically interpreted as the `sizes` property of the PolyCollection,
and a 4th positional parameter would be interpreted as the `linewidths`
of the LineCollection, which is more useful but not so obvious.
Instead, deprecate these uses (one can still set these using keyword
arguments), in preparation of overloading these functions as
`plot_{surface,wireframe}([X, Y], Z)` instead (i.e., defaulting X and Y
to the correct meshgrid, similarly to what we already do e.g. for
the 2D `pcolor`-style functions).1 parent 99e6240 commit e07e3a4
File tree
2 files changed
+7
-0
lines changed- doc/api/next_api_changes/deprecations
- lib/mpl_toolkits/mplot3d
2 files changed
+7
-0
lines changed| 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 | |
|---|---|---|---|
| |||
1493 | 1493 | | |
1494 | 1494 | | |
1495 | 1495 | | |
| 1496 | + | |
1496 | 1497 | | |
1497 | 1498 | | |
1498 | 1499 | | |
| |||
1764 | 1765 | | |
1765 | 1766 | | |
1766 | 1767 | | |
| 1768 | + | |
1767 | 1769 | | |
1768 | 1770 | | |
1769 | 1771 | | |
| |||
0 commit comments