Return the bbox that the box is anchored to.
(self)
| 1022 | return self.get_child().get_bbox(renderer).padded(pad) |
| 1023 | |
| 1024 | def get_bbox_to_anchor(self): |
| 1025 | """Return the bbox that the box is anchored to.""" |
| 1026 | if self._bbox_to_anchor is None: |
| 1027 | return self.axes.bbox |
| 1028 | else: |
| 1029 | transform = self._bbox_to_anchor_transform |
| 1030 | if transform is None: |
| 1031 | return self._bbox_to_anchor |
| 1032 | else: |
| 1033 | return TransformedBbox(self._bbox_to_anchor, transform) |
| 1034 | |
| 1035 | def set_bbox_to_anchor(self, bbox, transform=None): |
| 1036 | """ |
no test coverage detected