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

Method _get_bbox_and_child_offsets

lib/matplotlib/offsetbox.py:566–569  ·  view source on GitHub ↗
(self, renderer)

Source from the content-addressed store, hash-verified

564 self.patch.update(patch_attrs)
565
566 def _get_bbox_and_child_offsets(self, renderer):
567 # docstring inherited.
568 pad = self.pad * renderer.points_to_pixels(1.)
569 return (self._children[0].get_bbox(renderer).padded(pad), [(0, 0)])
570
571 def draw(self, renderer):
572 # docstring inherited

Callers 1

drawMethod · 0.95

Calls 3

paddedMethod · 0.80
points_to_pixelsMethod · 0.45
get_bboxMethod · 0.45

Tested by

no test coverage detected