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

Function _test_proj_make_M

lib/mpl_toolkits/mplot3d/tests/test_axes3d.py:1189–1199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1187
1188
1189def _test_proj_make_M():
1190 # eye point
1191 E = np.array([1000, -1000, 2000])
1192 R = np.array([100, 100, 100])
1193 V = np.array([0, 0, 1])
1194 roll = 0
1195 u, v, w = proj3d._view_axes(E, R, V, roll)
1196 viewM = proj3d._view_transformation_uvw(u, v, w, E)
1197 perspM = proj3d._persp_transformation(100, -100, 1)
1198 M = np.dot(perspM, viewM)
1199 return M
1200
1201
1202def test_proj_transform():

Callers 2

test_proj_transformFunction · 0.85
test_proj_axes_cubeFunction · 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…