@@ -48,10 +48,9 @@ class Axes3D(Axes):
48
48
name = '3d'
49
49
_shared_z_axes = cbook .Grouper ()
50
50
51
- @docstring .dedent_interpd
52
51
def __init__ (
53
52
self , fig , rect = None , * args ,
54
- azim = - 60 , elev = 30 , zscale = None , sharez = None , proj_type = 'persp' ,
53
+ azim = - 60 , elev = 30 , sharez = None , proj_type = 'persp' ,
55
54
** kwargs ):
56
55
"""
57
56
Parameters
@@ -64,13 +63,14 @@ def __init__(
64
63
Azimuthal viewing angle, defaults to -60.
65
64
elev : float, optional
66
65
Elevation viewing angle, defaults to 30.
67
- zscale : %(scale_type)s, optional
68
- The z scale. Note that currently, only a linear scale is
69
- supported.
70
66
sharez : Axes3D, optional
71
67
Other axes to share z-limits with.
72
68
proj_type : {'persp', 'ortho'}
73
69
The projection type, default 'persp'.
70
+ **kwargs
71
+ Other optional keyword arguments:
72
+
73
+ %(Axes3D)s
74
74
75
75
Notes
76
76
-----
@@ -110,9 +110,6 @@ def __init__(
110
110
# func used to format z -- fall back on major formatters
111
111
self .fmt_zdata = None
112
112
113
- if zscale is not None :
114
- self .set_zscale (zscale )
115
-
116
113
if self .zaxis is not None :
117
114
self ._zcid = self .zaxis .callbacks .connect (
118
115
'units finalize' , lambda : self ._on_units_changed (scalez = True ))
@@ -2876,6 +2873,10 @@ def permutation_matrices(n):
2876
2873
return polygons
2877
2874
2878
2875
2876
+ docstring .interpd .update (Axes3D = artist .kwdoc (Axes3D ))
2877
+ docstring .dedent_interpd (Axes3D .__init__ )
2878
+
2879
+
2879
2880
def get_test_data (delta = 0.05 ):
2880
2881
'''
2881
2882
Return a tuple X, Y, Z with a test data set.
0 commit comments