MCPcopy Index your code
hub / github.com/rawpython/remi / __init__

Method __init__

examples/matplotlib_app.py:37–45  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

35 ax = None
36
37 def __init__(self, **kwargs):
38 super(MatplotImage, self).__init__("/%s/get_image_data?update_index=0" % id(self), **kwargs)
39 self._buf = None
40 self._buflock = threading.Lock()
41
42 self._fig = Figure(figsize=(4, 4))
43 self.ax = self._fig.add_subplot(111)
44
45 self.redraw()
46
47 def redraw(self):
48 canv = FigureCanvasAgg(self._fig)

Callers

nothing calls this directly

Calls 2

redrawMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected