@@ -58,7 +58,7 @@ class Axes3D(Axes):
5858 Axes ._shared_axes ["view" ] = cbook .Grouper ()
5959
6060 def __init__ (
61- self , fig , rect = None , * args ,
61+ self , fig , rect = ( 0 , 0 , 1 , 1 ) , * args ,
6262 elev = 30 , azim = - 60 , roll = 0 , shareview = None , sharez = None ,
6363 proj_type = 'persp' , focal_length = None ,
6464 box_aspect = None ,
@@ -70,7 +70,7 @@ def __init__(
7070 ----------
7171 fig : Figure
7272 The parent figure.
73- rect : tuple (left, bottom, width, height), default: None.
73+ rect : tuple (left, bottom, width, height), default: (0, 0, 1, 1)
7474 The ``(left, bottom, width, height)`` Axes position.
7575 elev : float, default: 30
7676 The elevation angle in degrees rotates the camera above and below
@@ -119,10 +119,6 @@ def __init__(
119119
120120 %(Axes3D:kwdoc)s
121121 """
122-
123- if rect is None :
124- rect = [0.0 , 0.0 , 1.0 , 1.0 ]
125-
126122 self .initial_azim = azim
127123 self .initial_elev = elev
128124 self .initial_roll = roll
@@ -2049,9 +2045,10 @@ def fill_between(self, x1, y1, z1, x2, y2, z2, *,
20492045 - 'auto': If the points all lie on the same 3D plane, 'polygon' is
20502046 used. Otherwise, 'quad' is used.
20512047
2052- facecolors : list of :mpltype:`color`, default: None
2048+ facecolors : :mpltype:`color` or list of :mpltype:`color`, optional
20532049 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.
20552052
20562053 shade : bool, default: None
20572054 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,
29432940 - A 2D array in which the rows are RGB or RGBA.
29442941
29452942 For more details see the *c* argument of `~.axes.Axes.scatter`.
2946- depthshade : bool, default: None
2943+ depthshade : bool, default: :rc:`axes3d.depthshade`
29472944 Whether to shade the scatter markers to give the appearance of
29482945 depth. Each call to ``scatter()`` will perform its depthshading
29492946 independently.
2950- If None, use the value from rcParams['axes3d.depthshade'].
29512947
2952- depthshade_minalpha : float, default: None
2948+ depthshade_minalpha : float, default: :rc:`axes3d.depthshade_minalpha`
29532949 The lowest alpha value applied by depth-shading.
2954- If None, use the value from rcParams['axes3d.depthshade_minalpha'].
29552950
29562951 .. versionadded:: 3.11
29572952
@@ -3627,12 +3622,12 @@ def errorbar(self, x, y, z, zerr=None, yerr=None, xerr=None, fmt='',
36273622 Use 'none' (case-insensitive) to plot errorbars without any data
36283623 markers.
36293624
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
36323627 line connecting the markers.
36333628
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
36363631 the current style is used.
36373632
36383633 capsize : float, default: :rc:`errorbar.capsize`
0 commit comments