Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 041d4e0 + 361b8bc commit fb5c7c5Copy full SHA for fb5c7c5
1 file changed
lib/mpl_toolkits/mplot3d/axes3d.py
@@ -975,7 +975,7 @@ def sharez(self, other):
975
"""
976
Share the z-axis with *other*.
977
978
- This is equivalent to passing ``sharex=other`` when constructing the
+ This is equivalent to passing ``sharez=other`` when constructing the
979
Axes, and cannot be used if the z-axis is already being shared with
980
another Axes.
981
@@ -1402,12 +1402,7 @@ def invert_zaxis(self):
1402
bottom, top = self.get_zlim()
1403
self.set_zlim(top, bottom, auto=None)
1404
1405
- def zaxis_inverted(self):
1406
- """
1407
- Returns True if the z-axis is inverted.
1408
1409
- bottom, top = self.get_zlim()
1410
- return top < bottom
+ zaxis_inverted = _axis_method_wrapper("zaxis", "get_inverted")
1411
1412
def get_zbound(self):
1413
0 commit comments