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

Function _proj_transform_vec

lib/mpl_toolkits/mplot3d/proj3d.py:161–166  ·  view source on GitHub ↗
(vec, M)

Source from the content-addressed store, hash-verified

159
160
161def _proj_transform_vec(vec, M):
162 vecw = np.dot(M, vec.data)
163 ts = vecw[0:3]/vecw[3]
164 if np.ma.isMA(vec):
165 ts = np.ma.array(ts, mask=vec.mask)
166 return ts[0], ts[1], ts[2]
167
168
169def _scale_proj_transform_vectors(vecs, axes):

Callers 1

proj_transformFunction · 0.85

Calls 1

dotMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…