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

Function test_get_dir_vector

lib/mpl_toolkits/mplot3d/tests/test_art3d.py:24–27  ·  view source on GitHub ↗
(zdir, expected)

Source from the content-addressed store, hash-verified

22 (np.array([4, 5, 6]), (4, 5, 6)),
23])
24def test_get_dir_vector(zdir, expected):
25 res = get_dir_vector(zdir)
26 assert isinstance(res, np.ndarray)
27 nptest.assert_array_equal(res, expected)
28
29
30def test_scatter_3d_projection_conservation():

Callers

nothing calls this directly

Calls 1

get_dir_vectorFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…