MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / __init__

Method __init__

lib/matplotlib/backends/backend_agg.py:65–77  ·  view source on GitHub ↗
(self, width, height, dpi)

Source from the content-addressed store, hash-verified

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.

Callers 1

__setstate__Method · 0.95

Calls 3

_update_methodsMethod · 0.95
MathTextParserClass · 0.90
from_boundsMethod · 0.80

Tested by

no test coverage detected