| 868 | calculated in the transformed coordinate. |
| 869 | """ |
| 870 | def __init__(self, aux_transform): |
| 871 | self.aux_transform = aux_transform |
| 872 | OffsetBox.__init__(self) |
| 873 | |
| 874 | self.offset_transform = mtransforms.Affine2D() |
| 875 | self.offset_transform.clear() |
| 876 | self.offset_transform.translate(0, 0) |
| 877 | |
| 878 | # ref_offset_transform is used to make the offset_transform is |
| 879 | # always reference to the lower-left corner of the bbox of its |
| 880 | # children. |
| 881 | self.ref_offset_transform = mtransforms.Affine2D() |
| 882 | self.ref_offset_transform.clear() |
| 883 | |
| 884 | def add_artist(self, a): |
| 885 | 'Add any :class:`~matplotlib.artist.Artist` to the container box' |