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

Method set

lib/matplotlib/transforms.py:1109–1115  ·  view source on GitHub ↗

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

(self, other)

Source from the content-addressed store, hash-verified

1107 self.invalidate()
1108
1109 def set(self, other):
1110 """
1111 Set this bounding box from the "frozen" bounds of another `Bbox`.
1112 """
1113 if np.any(self._points != other.get_points()):
1114 self._points = other.get_points()
1115 self.invalidate()
1116
1117 def mutated(self):
1118 """Return whether the bbox has changed since init."""

Callers

nothing calls this directly

Calls 2

invalidateMethod · 0.95
get_pointsMethod · 0.45

Tested by

no test coverage detected