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

Method to_values

lib/matplotlib/transforms.py:1901–1906  ·  view source on GitHub ↗

Return the values of the matrix as an ``(a, b, c, d, e, f)`` tuple.

(self)

Source from the content-addressed store, hash-verified

1899 return mtx[0, 1] == mtx[1, 0] == 0.0
1900
1901 def to_values(self):
1902 """
1903 Return the values of the matrix as an ``(a, b, c, d, e, f)`` tuple.
1904 """
1905 mtx = self.get_matrix()
1906 return tuple(mtx[:2].swapaxes(0, 1).flat)
1907
1908 def transform_affine(self, values):
1909 mtx = self.get_matrix()

Callers 5

draw_imageMethod · 0.80
draw_imageMethod · 0.80
draw_imageMethod · 0.80
_generate_transformFunction · 0.80
test_valuesMethod · 0.80

Calls 1

get_matrixMethod · 0.45

Tested by 1

test_valuesMethod · 0.64