@@ -58,7 +58,7 @@ class Axes3D(Axes):
58
58
Axes ._shared_axes ["view" ] = cbook .Grouper ()
59
59
60
60
def __init__ (
61
- self , fig , rect = None , * args ,
61
+ self , fig , rect = ( 0 , 0 , 1 , 1 ) , * args ,
62
62
elev = 30 , azim = - 60 , roll = 0 , shareview = None , sharez = None ,
63
63
proj_type = 'persp' , focal_length = None ,
64
64
box_aspect = None ,
@@ -70,7 +70,7 @@ def __init__(
70
70
----------
71
71
fig : Figure
72
72
The parent figure.
73
- rect : tuple (left, bottom, width, height), default: None.
73
+ rect : tuple (left, bottom, width, height), default: (0, 0, 1, 1)
74
74
The ``(left, bottom, width, height)`` Axes position.
75
75
elev : float, default: 30
76
76
The elevation angle in degrees rotates the camera above and below
@@ -119,10 +119,6 @@ def __init__(
119
119
120
120
%(Axes3D:kwdoc)s
121
121
"""
122
-
123
- if rect is None :
124
- rect = [0.0 , 0.0 , 1.0 , 1.0 ]
125
-
126
122
self .initial_azim = azim
127
123
self .initial_elev = elev
128
124
self .initial_roll = roll
@@ -2049,9 +2045,10 @@ def fill_between(self, x1, y1, z1, x2, y2, z2, *,
2049
2045
- 'auto': If the points all lie on the same 3D plane, 'polygon' is
2050
2046
used. Otherwise, 'quad' is used.
2051
2047
2052
- facecolors : list of :mpltype:`color`, default: None
2048
+ facecolors : :mpltype:`color` or list of :mpltype:`color`, optional
2053
2049
Colors of each individual patch, or a single color to be used for
2054
- all patches.
2050
+ all patches. If not given, the next color from the patch color
2051
+ cycle is used.
2055
2052
2056
2053
shade : bool, default: None
2057
2054
Whether to shade the facecolors. If *None*, then defaults to *True*
@@ -2943,15 +2940,13 @@ def scatter(self, xs, ys, zs=0, zdir='z', s=20, c=None, depthshade=None,
2943
2940
- A 2D array in which the rows are RGB or RGBA.
2944
2941
2945
2942
For more details see the *c* argument of `~.axes.Axes.scatter`.
2946
- depthshade : bool, default: None
2943
+ depthshade : bool, default: :rc:`axes3d.depthshade`
2947
2944
Whether to shade the scatter markers to give the appearance of
2948
2945
depth. Each call to ``scatter()`` will perform its depthshading
2949
2946
independently.
2950
- If None, use the value from rcParams['axes3d.depthshade'].
2951
2947
2952
- depthshade_minalpha : float, default: None
2948
+ depthshade_minalpha : float, default: :rc:`axes3d.depthshade_minalpha`
2953
2949
The lowest alpha value applied by depth-shading.
2954
- If None, use the value from rcParams['axes3d.depthshade_minalpha'].
2955
2950
2956
2951
.. versionadded:: 3.11
2957
2952
@@ -3627,12 +3622,12 @@ def errorbar(self, x, y, z, zerr=None, yerr=None, xerr=None, fmt='',
3627
3622
Use 'none' (case-insensitive) to plot errorbars without any data
3628
3623
markers.
3629
3624
3630
- ecolor : :mpltype:`color`, default: None
3631
- The color of the errorbar lines. If None , use the color of the
3625
+ ecolor : :mpltype:`color`, optional
3626
+ The color of the errorbar lines. If not given , use the color of the
3632
3627
line connecting the markers.
3633
3628
3634
- elinewidth : float, default: None
3635
- The linewidth of the errorbar lines. If None , the linewidth of
3629
+ elinewidth : float, optional
3630
+ The linewidth of the errorbar lines. If not given , the linewidth of
3636
3631
the current style is used.
3637
3632
3638
3633
capsize : float, default: :rc:`errorbar.capsize`
0 commit comments