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

Method get_bbox

lib/matplotlib/lines.py:633–637  ·  view source on GitHub ↗

Get the bounding box of this line.

(self)

Source from the content-addressed store, hash-verified

631 self._picker = p
632
633 def get_bbox(self):
634 """Get the bounding box of this line."""
635 bbox = Bbox([[0, 0], [0, 0]])
636 bbox.update_from_data_xy(self.get_xydata())
637 return bbox
638
639 def get_window_extent(self, renderer=None):
640 bbox = Bbox([[0, 0], [0, 0]])

Callers 8

_auto_legend_dataMethod · 0.45
_rect_bboxMethod · 0.45
_get_bboxMethod · 0.45
bar_labelMethod · 0.45
test_insetFunction · 0.45
test_zoom_insetFunction · 0.45
test_packersFunction · 0.45
containsMethod · 0.45

Calls 3

update_from_data_xyMethod · 0.95
get_xydataMethod · 0.95
BboxClass · 0.85

Tested by 3

test_insetFunction · 0.36
test_zoom_insetFunction · 0.36
test_packersFunction · 0.36