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

Method _check

site-packages/matplotlib/transforms.py:259–265  ·  view source on GitHub ↗
(points)

Source from the content-addressed store, hash-verified

257
258 if DEBUG:
259 def _check(points):
260 if isinstance(points, np.ma.MaskedArray):
261 warnings.warn("Bbox bounds are a masked array.")
262 points = np.asarray(points)
263 if (points[1, 0] - points[0, 0] == 0 or
264 points[1, 1] - points[0, 1] == 0):
265 warnings.warn("Singular Bbox.")
266 _check = staticmethod(_check)
267
268 def frozen(self):

Callers 4

__init__Method · 0.45
invalidateMethod · 0.45
get_pointsMethod · 0.45
get_pointsMethod · 0.45

Calls 1

warnMethod · 0.45

Tested by

no test coverage detected