@@ -58,11 +58,6 @@ class Axes3D(Axes):
5858 Axes ._shared_axes ["z" ] = cbook .Grouper ()
5959 Axes ._shared_axes ["view" ] = cbook .Grouper ()
6060
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-
6661 def __init__ (
6762 self , fig , rect = None , * args ,
6863 elev = 30 , azim = - 60 , roll = 0 , sharez = None , proj_type = 'persp' ,
@@ -227,10 +222,6 @@ def get_zaxis(self):
227222 get_zgridlines = _axis_method_wrapper ("zaxis" , "get_gridlines" )
228223 get_zticklines = _axis_method_wrapper ("zaxis" , "get_ticklines" )
229224
230- @_api .deprecated ("3.7" )
231- def unit_cube (self , vals = None ):
232- return self ._unit_cube (vals )
233-
234225 def _unit_cube (self , vals = None ):
235226 minx , maxx , miny , maxy , minz , maxz = vals or self .get_w_lims ()
236227 return [(minx , miny , minz ),
@@ -242,21 +233,13 @@ def _unit_cube(self, vals=None):
242233 (maxx , maxy , maxz ),
243234 (minx , maxy , maxz )]
244235
245- @_api .deprecated ("3.7" )
246- def tunit_cube (self , vals = None , M = None ):
247- return self ._tunit_cube (vals , M )
248-
249236 def _tunit_cube (self , vals = None , M = None ):
250237 if M is None :
251238 M = self .M
252239 xyzs = self ._unit_cube (vals )
253240 tcube = proj3d ._proj_points (xyzs , M )
254241 return tcube
255242
256- @_api .deprecated ("3.7" )
257- def tunit_edges (self , vals = None , M = None ):
258- return self ._tunit_edges (vals , M )
259-
260243 def _tunit_edges (self , vals = None , M = None ):
261244 tc = self ._tunit_cube (vals , M )
262245 edges = [(tc [0 ], tc [1 ]),
@@ -943,11 +926,6 @@ def get_proj(self):
943926 # towards the middle of the box of data from a distance:
944927 eye = R + self ._dist * ps
945928
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-
951929 # Calculate the viewing axes for the eye position
952930 u , v , w = self ._calc_view_axes (eye )
953931 self ._view_u = u # _view_u is towards the right of the screen
0 commit comments