Parameters ---------- width, height : float Width and height of the container box. xdescent, ydescent : float Descent of the box in x- and y-direction. clip : bool Whether to clip the children to the box.
(self, width, height, xdescent=0., ydescent=0., clip=False)
| 603 | """ |
| 604 | |
| 605 | def __init__(self, width, height, xdescent=0., ydescent=0., clip=False): |
| 606 | """ |
| 607 | Parameters |
| 608 | ---------- |
| 609 | width, height : float |
| 610 | Width and height of the container box. |
| 611 | xdescent, ydescent : float |
| 612 | Descent of the box in x- and y-direction. |
| 613 | clip : bool |
| 614 | Whether to clip the children to the box. |
| 615 | """ |
| 616 | super().__init__() |
| 617 | self.width = width |
| 618 | self.height = height |
| 619 | self.xdescent = xdescent |
| 620 | self.ydescent = ydescent |
| 621 | self._clip_children = clip |
| 622 | self.offset_transform = mtransforms.Affine2D() |
| 623 | self.dpi_transform = mtransforms.Affine2D() |
| 624 | |
| 625 | @property |
| 626 | def clip_children(self): |