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

Method transform_bbox

lib/matplotlib/transforms.py:1620–1627  ·  view source on GitHub ↗

Transform the given bounding box. For smarter transforms including caching (a common requirement in Matplotlib), see `TransformedBbox`.

(self, bbox)

Source from the content-addressed store, hash-verified

1618 return values
1619
1620 def transform_bbox(self, bbox):
1621 """
1622 Transform the given bounding box.
1623
1624 For smarter transforms including caching (a common requirement in
1625 Matplotlib), see `TransformedBbox`.
1626 """
1627 return Bbox(self.transform(bbox.get_points()))
1628
1629 def get_affine(self):
1630 """Get the affine part of this transform."""

Callers 9

get_bboxMethod · 0.80
make_margin_suptitlesFunction · 0.80
reposition_axesFunction · 0.80
reposition_colorbarFunction · 0.80
_auto_adjust_subplotparsFunction · 0.80
get_datalimMethod · 0.80
_initMethod · 0.80
__init__Method · 0.80

Calls 3

transformMethod · 0.95
BboxClass · 0.85
get_pointsMethod · 0.45

Tested by 1