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

Skip to content

Commit 496fa50

Browse files
committed
Deprecate properties w_xaxis, w_yaxis, and w_zaxis
1 parent 3992fb0 commit 496fa50

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
``w_xaxis``, ``w_yaxis``, and ``w_zaxis`` of ``Axis3D``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
... have been pending deprecation since 3.1. They are now deprecated.
5+
Instead use ``xaxis``, ``yaxis``, and ``zaxis``.

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ def get_zaxis(self):
225225
get_zgridlines = _axis_method_wrapper("zaxis", "get_gridlines")
226226
get_zticklines = _axis_method_wrapper("zaxis", "get_ticklines")
227227

228-
w_xaxis = _api.deprecated("3.1", alternative="xaxis", pending=True)(
228+
w_xaxis = _api.deprecated("3.1", alternative="xaxis", removal="3.8")(
229229
property(lambda self: self.xaxis))
230-
w_yaxis = _api.deprecated("3.1", alternative="yaxis", pending=True)(
230+
w_yaxis = _api.deprecated("3.1", alternative="yaxis", removal="3.8")(
231231
property(lambda self: self.yaxis))
232-
w_zaxis = _api.deprecated("3.1", alternative="zaxis", pending=True)(
232+
w_zaxis = _api.deprecated("3.1", alternative="zaxis", removal="3.8")(
233233
property(lambda self: self.zaxis))
234234

235235
def unit_cube(self, vals=None):

0 commit comments

Comments
 (0)