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

Method from_values

lib/matplotlib/transforms.py:1973–1984  ·  view source on GitHub ↗

Create a new Affine2D instance from the given values:: a c e b d f 0 0 1 .

(a, b, c, d, e, f)

Source from the content-addressed store, hash-verified

1971
1972 @staticmethod
1973 def from_values(a, b, c, d, e, f):
1974 """
1975 Create a new Affine2D instance from the given values::
1976
1977 a c e
1978 b d f
1979 0 0 1
1980
1981 .
1982 """
1983 return Affine2D(
1984 np.array([a, c, e, b, d, f, 0.0, 0.0, 1.0], float).reshape((3, 3)))
1985
1986 def get_matrix(self):
1987 """

Callers 4

get_spine_transformMethod · 0.80
test_valuesMethod · 0.80
test_invalidateMethod · 0.80

Calls 1

Affine2DClass · 0.85

Tested by 3

test_valuesMethod · 0.64
test_invalidateMethod · 0.64