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

Method _get_scaled_limits

lib/mpl_toolkits/mplot3d/axes3d.py:1364–1377  ·  view source on GitHub ↗

Get axis limits transformed through their respective scale transforms. Returns ------- tuple (xmin_scaled, xmax_scaled, ymin_scaled, ymax_scaled, zmin_scaled, zmax_scaled)

(self)

Source from the content-addressed store, hash-verified

1362 return np.roll(arr, (self._vertical_axis - 2))
1363
1364 def _get_scaled_limits(self):
1365 """
1366 Get axis limits transformed through their respective scale transforms.
1367
1368 Returns
1369 -------
1370 tuple
1371 (xmin_scaled, xmax_scaled, ymin_scaled, ymax_scaled,
1372 zmin_scaled, zmax_scaled)
1373 """
1374 xmin, xmax = self.xaxis.get_transform().transform(self.get_xlim3d())
1375 ymin, ymax = self.yaxis.get_transform().transform(self.get_ylim3d())
1376 zmin, zmax = self.zaxis.get_transform().transform(self.get_zlim3d())
1377 return xmin, xmax, ymin, ymax, zmin, zmax
1378
1379 def _untransform_point(self, x, y, z):
1380 """

Callers 4

get_projMethod · 0.95
drag_panMethod · 0.95
_get_w_centers_rangesMethod · 0.95
_get_coord_infoMethod · 0.80

Calls 2

transformMethod · 0.45
get_transformMethod · 0.45

Tested by

no test coverage detected