Return a copy of the `Bbox`, shrunk by the factor *mx* in the *x* direction and the factor *my* in the *y* direction. The lower left corner of the box remains unchanged. Normally *mx* and *my* will be less than 1, but this is not enforced.
(self, mx, my)
| 525 | (b + cy * (h - H)) - B]) |
| 526 | |
| 527 | def shrunk(self, mx, my): |
| 528 | """ |
| 529 | Return a copy of the `Bbox`, shrunk by the factor *mx* |
| 530 | in the *x* direction and the factor *my* in the *y* direction. |
| 531 | The lower left corner of the box remains unchanged. Normally |
| 532 | *mx* and *my* will be less than 1, but this is not enforced. |
| 533 | """ |
| 534 | w, h = self.size |
| 535 | return Bbox([self._points[0], |
| 536 | self._points[0] + [mx * w, my * h]]) |
| 537 | |
| 538 | def shrunk_to_aspect(self, box_aspect, container=None, fig_aspect=1.0): |
| 539 | """ |
no test coverage detected