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

Function _scale_proj_transform_clip

lib/mpl_toolkits/mplot3d/proj3d.py:244–252  ·  view source on GitHub ↗

Apply scale transforms, project, and return clipping result. Returns txs, tys, tzs, tis.

(xs, ys, zs, axes)

Source from the content-addressed store, hash-verified

242
243
244def _scale_proj_transform_clip(xs, ys, zs, axes):
245 """
246 Apply scale transforms, project, and return clipping result.
247
248 Returns txs, tys, tzs, tis.
249 """
250 xs, ys, zs = _apply_scale_transforms(xs, ys, zs, axes)
251 vec = _vec_pad_ones(xs, ys, zs)
252 return _proj_transform_vec_clip(vec, axes.M, axes._focal_length)
253
254
255def _proj_trans_points(points, M):

Callers

nothing calls this directly

Calls 3

_apply_scale_transformsFunction · 0.85
_vec_pad_onesFunction · 0.85
_proj_transform_vec_clipFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…