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

Method set_points

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

Set the points of the bounding box directly from a numpy 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

983 return self._points
984
985 def set_points(self, points):
986 """
987 Set the points of the bounding box directly from a numpy array
988 of the form: ``[[x0, y0], [x1, y1]]``. No error checking is
989 performed, as this method is mainly for internal use.
990 """
991 if np.any(self._points != points):
992 self._points = points
993 self.invalidate()
994
995 def set(self, other):
996 """

Callers 2

relimMethod · 0.80
test_lockable_bboxFunction · 0.80

Calls 2

invalidateMethod · 0.95
anyMethod · 0.45

Tested by 1

test_lockable_bboxFunction · 0.64