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

Method count_overlaps

lib/matplotlib/transforms.py:600–609  ·  view source on GitHub ↗

Count the number of bounding boxes that overlap this one. Parameters ---------- bboxes : sequence of `.BboxBase`

(self, bboxes)

Source from the content-addressed store, hash-verified

598 (vertices < self.max)).all(axis=1).sum())
599
600 def count_overlaps(self, bboxes):
601 """
602 Count the number of bounding boxes that overlap this one.
603
604 Parameters
605 ----------
606 bboxes : sequence of `.BboxBase`
607 """
608 return count_bboxes_overlapping_bbox(
609 self, np.atleast_3d([np.array(x) for x in bboxes]))
610
611 def expanded(self, sw, sh):
612 """

Callers 1

_find_best_positionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected