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

Method set_matrix

lib/matplotlib/transforms.py:2001–2012  ·  view source on GitHub ↗

Set the underlying transformation matrix from a 3x3 array:: a c e b d f 0 0 1 .

(self, mtx)

Source from the content-addressed store, hash-verified

1999 return self._mtx
2000
2001 def set_matrix(self, mtx):
2002 """
2003 Set the underlying transformation matrix from a 3x3 array::
2004
2005 a c e
2006 b d f
2007 0 0 1
2008
2009 .
2010 """
2011 self._mtx = mtx
2012 self.invalidate()
2013
2014 def set(self, other):
2015 """

Callers 1

get_bboxMethod · 0.80

Calls 1

invalidateMethod · 0.45

Tested by

no test coverage detected