@@ -1484,8 +1484,7 @@ def plot(self, xs, ys, *args, zdir='z', **kwargs):
1484
1484
1485
1485
plot3D = plot
1486
1486
1487
- @_api .delete_parameter ("3.4" , "args" , alternative = "kwargs" )
1488
- def plot_surface (self , X , Y , Z , * args , norm = None , vmin = None ,
1487
+ def plot_surface (self , X , Y , Z , * , norm = None , vmin = None ,
1489
1488
vmax = None , lightsource = None , ** kwargs ):
1490
1489
"""
1491
1490
Create a surface plot.
@@ -1659,7 +1658,7 @@ def plot_surface(self, X, Y, Z, *args, norm=None, vmin=None,
1659
1658
1660
1659
# note that the striding causes some polygons to have more coordinates
1661
1660
# than others
1662
- polyc = art3d .Poly3DCollection (polys , * args , * *kwargs )
1661
+ polyc = art3d .Poly3DCollection (polys , ** kwargs )
1663
1662
1664
1663
if fcolors is not None :
1665
1664
if shade :
@@ -1770,8 +1769,7 @@ def norm(x):
1770
1769
1771
1770
return colors
1772
1771
1773
- @_api .delete_parameter ("3.4" , "args" , alternative = "kwargs" )
1774
- def plot_wireframe (self , X , Y , Z , * args , ** kwargs ):
1772
+ def plot_wireframe (self , X , Y , Z , ** kwargs ):
1775
1773
"""
1776
1774
Plot a 3D wireframe.
1777
1775
@@ -1883,7 +1881,7 @@ def plot_wireframe(self, X, Y, Z, *args, **kwargs):
1883
1881
+ [list (zip (xl , yl , zl ))
1884
1882
for xl , yl , zl in zip (txlines , tylines , tzlines )])
1885
1883
1886
- linec = art3d .Line3DCollection (lines , * args , * *kwargs )
1884
+ linec = art3d .Line3DCollection (lines , ** kwargs )
1887
1885
self .add_collection (linec )
1888
1886
self .auto_scale_xyz (X , Y , Z , had_data )
1889
1887
0 commit comments