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

Method set_points

lib/matplotlib/transforms.py:1099–1107  ·  view source on GitHub ↗

Set the points of the bounding box directly from an array of the form ``[[x0, y0], [x1, y1]]``. No error checking is performed, as this method is mainly for internal use.

(self, points)

Source from the content-addressed store, hash-verified

1097 return self._points
1098
1099 def set_points(self, points):
1100 """
1101 Set the points of the bounding box directly from an array of the form
1102 ``[[x0, y0], [x1, y1]]``. No error checking is performed, as this
1103 method is mainly for internal use.
1104 """
1105 if np.any(self._points != points):
1106 self._points = points
1107 self.invalidate()
1108
1109 def set(self, other):
1110 """

Callers 2

relimMethod · 0.80
test_lockable_bboxFunction · 0.80

Calls 1

invalidateMethod · 0.95

Tested by 1

test_lockable_bboxFunction · 0.64