@@ -58,11 +58,6 @@ class Axes3D(Axes):
58
58
Axes ._shared_axes ["z" ] = cbook .Grouper ()
59
59
Axes ._shared_axes ["view" ] = cbook .Grouper ()
60
60
61
- vvec = _api .deprecate_privatize_attribute ("3.7" )
62
- eye = _api .deprecate_privatize_attribute ("3.7" )
63
- sx = _api .deprecate_privatize_attribute ("3.7" )
64
- sy = _api .deprecate_privatize_attribute ("3.7" )
65
-
66
61
def __init__ (
67
62
self , fig , rect = None , * args ,
68
63
elev = 30 , azim = - 60 , roll = 0 , sharez = None , proj_type = 'persp' ,
@@ -227,10 +222,6 @@ def get_zaxis(self):
227
222
get_zgridlines = _axis_method_wrapper ("zaxis" , "get_gridlines" )
228
223
get_zticklines = _axis_method_wrapper ("zaxis" , "get_ticklines" )
229
224
230
- @_api .deprecated ("3.7" )
231
- def unit_cube (self , vals = None ):
232
- return self ._unit_cube (vals )
233
-
234
225
def _unit_cube (self , vals = None ):
235
226
minx , maxx , miny , maxy , minz , maxz = vals or self .get_w_lims ()
236
227
return [(minx , miny , minz ),
@@ -242,21 +233,13 @@ def _unit_cube(self, vals=None):
242
233
(maxx , maxy , maxz ),
243
234
(minx , maxy , maxz )]
244
235
245
- @_api .deprecated ("3.7" )
246
- def tunit_cube (self , vals = None , M = None ):
247
- return self ._tunit_cube (vals , M )
248
-
249
236
def _tunit_cube (self , vals = None , M = None ):
250
237
if M is None :
251
238
M = self .M
252
239
xyzs = self ._unit_cube (vals )
253
240
tcube = proj3d ._proj_points (xyzs , M )
254
241
return tcube
255
242
256
- @_api .deprecated ("3.7" )
257
- def tunit_edges (self , vals = None , M = None ):
258
- return self ._tunit_edges (vals , M )
259
-
260
243
def _tunit_edges (self , vals = None , M = None ):
261
244
tc = self ._tunit_cube (vals , M )
262
245
edges = [(tc [0 ], tc [1 ]),
@@ -943,11 +926,6 @@ def get_proj(self):
943
926
# towards the middle of the box of data from a distance:
944
927
eye = R + self ._dist * ps
945
928
946
- # vvec, self._vvec and self._eye are unused, remove when deprecated
947
- vvec = R - eye
948
- self ._eye = eye
949
- self ._vvec = vvec / np .linalg .norm (vvec )
950
-
951
929
# Calculate the viewing axes for the eye position
952
930
u , v , w = self ._calc_view_axes (eye )
953
931
self ._view_u = u # _view_u is towards the right of the screen
0 commit comments