Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 36edfee

Browse files
committed
Remove move_from_center. tick_update_position, set_pane_pos, and w_*axis
1 parent e3b3c1d commit 36edfee

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,6 @@ def get_zaxis(self):
219219
get_zgridlines = _axis_method_wrapper("zaxis", "get_gridlines")
220220
get_zticklines = _axis_method_wrapper("zaxis", "get_ticklines")
221221

222-
w_xaxis = _api.deprecated("3.1", alternative="xaxis", removal="3.8")(
223-
property(lambda self: self.xaxis))
224-
w_yaxis = _api.deprecated("3.1", alternative="yaxis", removal="3.8")(
225-
property(lambda self: self.yaxis))
226-
w_zaxis = _api.deprecated("3.1", alternative="zaxis", removal="3.8")(
227-
property(lambda self: self.zaxis))
228-
229222
@_api.deprecated("3.7")
230223
def unit_cube(self, vals=None):
231224
return self._unit_cube(vals)

lib/mpl_toolkits/mplot3d/axis3d.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,6 @@
1313
from . import art3d, proj3d
1414

1515

16-
@_api.deprecated("3.6", alternative="a vendored copy of _move_from_center")
17-
def move_from_center(coord, centers, deltas, axmask=(True, True, True)):
18-
"""
19-
For each coordinate where *axmask* is True, move *coord* away from
20-
*centers* by *deltas*.
21-
"""
22-
return _move_from_center(coord, centers, deltas, axmask=axmask)
23-
24-
2516
def _move_from_center(coord, centers, deltas, axmask=(True, True, True)):
2617
"""
2718
For each coordinate where *axmask* is True, move *coord* away from
@@ -31,12 +22,6 @@ def _move_from_center(coord, centers, deltas, axmask=(True, True, True)):
3122
return coord + axmask * np.copysign(1, coord - centers) * deltas
3223

3324

34-
@_api.deprecated("3.6", alternative="a vendored copy of _tick_update_position")
35-
def tick_update_position(tick, tickxs, tickys, labelpos):
36-
"""Update tick line and label position and style."""
37-
_tick_update_position(tick, tickxs, tickys, labelpos)
38-
39-
4025
def _tick_update_position(tick, tickxs, tickys, labelpos):
4126
"""Update tick line and label position and style."""
4227

@@ -198,11 +183,6 @@ def get_minor_ticks(self, numticks=None):
198183
obj.set_transform(self.axes.transData)
199184
return ticks
200185

201-
@_api.deprecated("3.6")
202-
def set_pane_pos(self, xys):
203-
"""Set pane position."""
204-
self._set_pane_pos(xys)
205-
206186
def _set_pane_pos(self, xys):
207187
xys = np.asarray(xys)
208188
xys = xys[:, :2]

0 commit comments

Comments
 (0)