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

Method intersects_bbox

lib/matplotlib/path.py:676–686  ·  view source on GitHub ↗

Return whether this path intersects a given `~.transforms.Bbox`. If *filled* is True, then this also returns True if the path completely encloses the `.Bbox` (i.e., the path is treated as filled). The bounding box is always considered filled.

(self, bbox, filled=True)

Source from the content-addressed store, hash-verified

674 return _path.path_intersects_path(self, other, filled)
675
676 def intersects_bbox(self, bbox, filled=True):
677 """
678 Return whether this path intersects a given `~.transforms.Bbox`.
679
680 If *filled* is True, then this also returns True if the path completely
681 encloses the `.Bbox` (i.e., the path is treated as filled).
682
683 The bounding box is always considered filled.
684 """
685 return _path.path_intersects_rectangle(
686 self, bbox.x0, bbox.y0, bbox.x1, bbox.y1, filled)
687
688 def interpolated(self, steps):
689 """

Callers 2

_find_best_positionMethod · 0.80
bbox_intersect.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected