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

Method _check

lib/matplotlib/transforms.py:223–228  ·  view source on GitHub ↗
(points)

Source from the content-addressed store, hash-verified

221 if DEBUG:
222 @staticmethod
223 def _check(points):
224 if isinstance(points, np.ma.MaskedArray):
225 _api.warn_external("Bbox bounds are a masked array.")
226 points = np.asarray(points)
227 if any((points[1, :] - points[0, :]) == 0):
228 _api.warn_external("Singular Bbox.")
229
230 def frozen(self):
231 return Bbox(self.get_points().copy())

Callers 4

__init__Method · 0.80
invalidateMethod · 0.80
get_pointsMethod · 0.80
get_pointsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected