(self, width, height, dpi)
| 63 | """ |
| 64 | |
| 65 | def __init__(self, width, height, dpi): |
| 66 | super().__init__() |
| 67 | |
| 68 | self.dpi = dpi |
| 69 | self.width = width |
| 70 | self.height = height |
| 71 | self._renderer = _RendererAgg(int(width), int(height), dpi) |
| 72 | self._filter_renderers = [] |
| 73 | |
| 74 | self._update_methods() |
| 75 | self.mathtext_parser = MathTextParser('path') |
| 76 | |
| 77 | self.bbox = Bbox.from_bounds(0, 0, self.width, self.height) |
| 78 | |
| 79 | def __getstate__(self): |
| 80 | # We only want to preserve the init keywords of the Renderer. |
no test coverage detected