@@ -1880,7 +1880,7 @@ def plot(self, xs, ys, *args, zdir='z', **kwargs):
1880
1880
if args and not isinstance (args [0 ], str ):
1881
1881
zs , * args = args
1882
1882
if 'zs' in kwargs :
1883
- raise TypeError ("plot() for multiple values for argument 'z '" )
1883
+ raise TypeError ("plot() for multiple values for argument 'zs '" )
1884
1884
else :
1885
1885
zs = kwargs .pop ('zs' , 0 )
1886
1886
@@ -1943,23 +1943,23 @@ def plot_surface(self, X, Y, Z, *, norm=None, vmin=None,
1943
1943
color : color-like
1944
1944
Color of the surface patches.
1945
1945
1946
- cmap : Colormap
1946
+ cmap : Colormap, optional
1947
1947
Colormap of the surface patches.
1948
1948
1949
- facecolors : array-like of colors.
1949
+ facecolors : array-like of colors
1950
1950
Colors of each individual patch.
1951
1951
1952
- norm : Normalize
1952
+ norm : `~matplotlib.colors. Normalize`, optional
1953
1953
Normalization for the colormap.
1954
1954
1955
- vmin, vmax : float
1955
+ vmin, vmax : float, optional
1956
1956
Bounds for the normalization.
1957
1957
1958
1958
shade : bool, default: True
1959
1959
Whether to shade the facecolors. Shading is always disabled when
1960
1960
*cmap* is specified.
1961
1961
1962
- lightsource : `~matplotlib.colors.LightSource`
1962
+ lightsource : `~matplotlib.colors.LightSource`, optional
1963
1963
The lightsource to use when *shade* is True.
1964
1964
1965
1965
**kwargs
@@ -2242,14 +2242,14 @@ def plot_trisurf(self, *args, color=None, norm=None, vmin=None, vmax=None,
2242
2242
Color of the surface patches.
2243
2243
cmap
2244
2244
A colormap for the surface patches.
2245
- norm : Normalize
2245
+ norm : `~matplotlib.colors. Normalize`, optional
2246
2246
An instance of Normalize to map values to colors.
2247
- vmin, vmax : float, default: None
2247
+ vmin, vmax : float, optional
2248
2248
Minimum and maximum value to map.
2249
2249
shade : bool, default: True
2250
2250
Whether to shade the facecolors. Shading is always disabled when
2251
2251
*cmap* is specified.
2252
- lightsource : `~matplotlib.colors.LightSource`
2252
+ lightsource : `~matplotlib.colors.LightSource`, optional
2253
2253
The lightsource to use when *shade* is True.
2254
2254
**kwargs
2255
2255
All other keyword arguments are passed on to
@@ -2379,7 +2379,7 @@ def contour(self, X, Y, Z, *args,
2379
2379
Input data. See `.Axes.contour` for supported data shapes.
2380
2380
extend3d : bool, default: False
2381
2381
Whether to extend contour in 3D.
2382
- stride : int
2382
+ stride : int, default: 5
2383
2383
Step size for extending contour.
2384
2384
zdir : {'x', 'y', 'z'}, default: 'z'
2385
2385
The direction to use.
@@ -2423,7 +2423,7 @@ def tricontour(self, *args,
2423
2423
Input data. See `.Axes.tricontour` for supported data shapes.
2424
2424
extend3d : bool, default: False
2425
2425
Whether to extend contour in 3D.
2426
- stride : int
2426
+ stride : int, default: 5
2427
2427
Step size for extending contour.
2428
2428
zdir : {'x', 'y', 'z'}, default: 'z'
2429
2429
The direction to use.
@@ -2558,13 +2558,14 @@ def add_collection3d(self, col, zs=0, zdir='z'):
2558
2558
Add a 3D collection object to the plot.
2559
2559
2560
2560
2D collection types are converted to a 3D version by
2561
- modifying the object and adding z coordinate information.
2561
+ modifying the object and adding z coordinate information,
2562
+ *zs* and *zdir*.
2562
2563
2563
- Supported are:
2564
+ Supported 2D collection types are:
2564
2565
2565
- - PolyCollection
2566
- - LineCollection
2567
- - PatchCollection
2566
+ - `. PolyCollection`
2567
+ - `. LineCollection`
2568
+ - `. PatchCollection`
2568
2569
"""
2569
2570
zvals = np .atleast_1d (zs )
2570
2571
zsortval = (np .min (zvals ) if zvals .size
@@ -2676,7 +2677,7 @@ def bar(self, left, height, zs=0, zdir='z', *args, **kwargs):
2676
2677
The x coordinates of the left sides of the bars.
2677
2678
height : 1D array-like
2678
2679
The height of the bars.
2679
- zs : float or 1D array-like
2680
+ zs : float or 1D array-like, default: 0
2680
2681
Z coordinate of bars; if a single value is specified, it will be
2681
2682
used for all bars.
2682
2683
zdir : {'x', 'y', 'z'}, default: 'z'
@@ -2759,14 +2760,14 @@ def bar3d(self, x, y, z, dx, dy, dz, color=None,
2759
2760
5. -X
2760
2761
6. +X
2761
2762
2762
- zsort : str, optional
2763
+ zsort : {'average', 'min', 'max'}, default: 'average'
2763
2764
The z-axis sorting scheme passed onto `~.art3d.Poly3DCollection`
2764
2765
2765
2766
shade : bool, default: True
2766
2767
When true, this shades the dark sides of the bars (relative
2767
2768
to the plot's source of light).
2768
2769
2769
- lightsource : `~matplotlib.colors.LightSource`
2770
+ lightsource : `~matplotlib.colors.LightSource`, optional
2770
2771
The lightsource to use when *shade* is True.
2771
2772
2772
2773
data : indexable object, optional
@@ -3063,7 +3064,7 @@ def voxels(self, *args, facecolors=None, edgecolors=None, shade=True,
3063
3064
shade : bool, default: True
3064
3065
Whether to shade the facecolors.
3065
3066
3066
- lightsource : `~matplotlib.colors.LightSource`
3067
+ lightsource : `~matplotlib.colors.LightSource`, optional
3067
3068
The lightsource to use when *shade* is True.
3068
3069
3069
3070
**kwargs
0 commit comments