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

Method test_values

lib/matplotlib/tests/test_transforms.py:28–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 Affine2D(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]], float))
27
28 def test_values(self):
29 np.random.seed(19680801)
30 values = np.random.random(6)
31 assert_array_equal(Affine2D.from_values(*values).to_values(), values)
32
33 def test_modify_inplace(self):
34 # Some polar transforms require modifying the matrix in place.

Callers

nothing calls this directly

Calls 2

to_valuesMethod · 0.80
from_valuesMethod · 0.80

Tested by

no test coverage detected