Return the centre of the rectangle.
(self)
| 961 | [(0, 0), (1, 0), (1, 1), (0, 1)]) |
| 962 | |
| 963 | def get_center(self): |
| 964 | """Return the centre of the rectangle.""" |
| 965 | return self.get_patch_transform().transform((0.5, 0.5)) |
| 966 | |
| 967 | def get_width(self): |
| 968 | """Return the width of the rectangle.""" |