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

Method set_transform

lib/matplotlib/artist.py:464–475  ·  view source on GitHub ↗

Set the artist transform. Parameters ---------- t : `~matplotlib.transforms.Transform`

(self, t)

Source from the content-addressed store, hash-verified

462 return self._transformSet
463
464 def set_transform(self, t):
465 """
466 Set the artist transform.
467
468 Parameters
469 ----------
470 t : `~matplotlib.transforms.Transform`
471 """
472 self._transform = t
473 self._transformSet = True
474 self.pchanged()
475 self.stale = True
476
477 def get_transform(self):
478 """Return the `.Transform` instance used by this artist."""

Callers

nothing calls this directly

Calls 1

pchangedMethod · 0.95

Tested by

no test coverage detected