Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Deprecate properties w_xaxis, w_yaxis, and w_zaxis #23455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions 5 doc/api/next_api_changes/deprecations/23455-OG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
``w_xaxis``, ``w_yaxis``, and ``w_zaxis`` of ``Axis3D``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... have been pending deprecation since 3.1. They are now deprecated.
Instead use ``xaxis``, ``yaxis``, and ``zaxis``.
6 changes: 3 additions & 3 deletions 6 lib/mpl_toolkits/mplot3d/axes3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,11 @@ def get_zaxis(self):
get_zgridlines = _axis_method_wrapper("zaxis", "get_gridlines")
get_zticklines = _axis_method_wrapper("zaxis", "get_ticklines")

w_xaxis = _api.deprecated("3.1", alternative="xaxis", pending=True)(
w_xaxis = _api.deprecated("3.1", alternative="xaxis", removal="3.8")(
property(lambda self: self.xaxis))
w_yaxis = _api.deprecated("3.1", alternative="yaxis", pending=True)(
w_yaxis = _api.deprecated("3.1", alternative="yaxis", removal="3.8")(
property(lambda self: self.yaxis))
w_zaxis = _api.deprecated("3.1", alternative="zaxis", pending=True)(
w_zaxis = _api.deprecated("3.1", alternative="zaxis", removal="3.8")(
property(lambda self: self.zaxis))

def unit_cube(self, vals=None):
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.