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

Method setup

lib/matplotlib/animation.py:308–314  ·  view source on GitHub ↗
(self, fig, outfile, dpi=None)

Source from the content-addressed store, hash-verified

306 return w, h
307
308 def setup(self, fig, outfile, dpi=None):
309 # docstring inherited
310 super().setup(fig, outfile, dpi=dpi)
311 self._w, self._h = self._adjust_frame_size()
312 # Run here so that grab_frame() can write the data to a pipe. This
313 # eliminates the need for temp files.
314 self._run()
315
316 def _run(self):
317 # Uses subprocess to call the program for assembling frames into a

Callers

nothing calls this directly

Calls 3

_adjust_frame_sizeMethod · 0.95
_runMethod · 0.95
setupMethod · 0.45

Tested by

no test coverage detected