Return the bbox that the legend will be anchored to.
(self)
| 1108 | draw_frame = set_frame_on # Backcompat alias. |
| 1109 | |
| 1110 | def get_bbox_to_anchor(self): |
| 1111 | """Return the bbox that the legend will be anchored to.""" |
| 1112 | if self._bbox_to_anchor is None: |
| 1113 | return self.parent.bbox |
| 1114 | else: |
| 1115 | return self._bbox_to_anchor |
| 1116 | |
| 1117 | def set_bbox_to_anchor(self, bbox, transform=None): |
| 1118 | """ |
no outgoing calls
no test coverage detected