MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_zlim

Method get_zlim

lib/mpl_toolkits/mplot3d/axes3d.py:1107–1127  ·  view source on GitHub ↗

Return the 3D z-axis view limits. Returns ------- left, right : (float, float) The current z-axis limits in data coordinates. See Also -------- set_zlim set_zbound, get_zbound invert_zaxis, zaxis_inverted

(self)

Source from the content-addressed store, hash-verified

1105 return tuple(self.xy_viewLim.intervaly)
1106
1107 def get_zlim(self):
1108 """
1109 Return the 3D z-axis view limits.
1110
1111 Returns
1112 -------
1113 left, right : (float, float)
1114 The current z-axis limits in data coordinates.
1115
1116 See Also
1117 --------
1118 set_zlim
1119 set_zbound, get_zbound
1120 invert_zaxis, zaxis_inverted
1121
1122 Notes
1123 -----
1124 The z-axis may be inverted, in which case the *left* value will
1125 be greater than the *right* value.
1126 """
1127 return tuple(self.zz_viewLim.intervalx)
1128
1129 get_zscale = _axis_method_wrapper("zaxis", "get_scale")
1130

Callers 10

_get_viewMethod · 0.95
invert_zaxisMethod · 0.95
get_zboundMethod · 0.95
sharezMethod · 0.80
test_inverted_zaxisFunction · 0.80
test_set_zlimFunction · 0.80
test_shared_axes_retickFunction · 0.80

Calls

no outgoing calls

Tested by 6

test_inverted_zaxisFunction · 0.64
test_set_zlimFunction · 0.64
test_shared_axes_retickFunction · 0.64