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

Method get_bbox

lib/matplotlib/offsetbox.py:358–361  ·  view source on GitHub ↗

Return the bbox of the offsetbox, ignoring parent offsets.

(self, renderer)

Source from the content-addressed store, hash-verified

356 "get_bbox_and_offsets must be overridden in derived classes")
357
358 def get_bbox(self, renderer):
359 """Return the bbox of the offsetbox, ignoring parent offsets."""
360 bbox, offsets = self._get_bbox_and_child_offsets(renderer)
361 return bbox
362
363 def get_window_extent(self, renderer=None):
364 # docstring inherited

Callers 1

get_window_extentMethod · 0.95

Calls 1

Tested by

no test coverage detected