MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / set

Method set

site-packages/matplotlib/transforms.py:995–1002  ·  view source on GitHub ↗

Set this bounding box from the "frozen" bounds of another :class:`Bbox`.

(self, other)

Source from the content-addressed store, hash-verified

993 self.invalidate()
994
995 def set(self, other):
996 """
997 Set this bounding box from the "frozen" bounds of another
998 :class:`Bbox`.
999 """
1000 if np.any(self._points != other.get_points()):
1001 self._points = other.get_points()
1002 self.invalidate()
1003
1004 def mutated(self):
1005 'Return whether the bbox has changed since init.'

Callers

nothing calls this directly

Calls 3

invalidateMethod · 0.95
anyMethod · 0.45
get_pointsMethod · 0.45

Tested by

no test coverage detected