(self, ax, bbox, color, *, extent=(0, 1, 0, 1), **kwargs)
| 47 | zorder = 1 |
| 48 | |
| 49 | def __init__(self, ax, bbox, color, *, extent=(0, 1, 0, 1), **kwargs): |
| 50 | super().__init__(ax, extent=extent, **kwargs) |
| 51 | self._bbox = bbox |
| 52 | self._ribbonbox = RibbonBox(color) |
| 53 | self.set_transform(BboxTransformTo(bbox)) |
| 54 | |
| 55 | def draw(self, renderer): |
| 56 | stretch_factor = self._bbox.height / self._bbox.width |
nothing calls this directly
no test coverage detected