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

Method close

lib/matplotlib/dviread.py:281–284  ·  view source on GitHub ↗

Close the underlying file if it is open.

(self)

Source from the content-addressed store, hash-verified

279 yield self._output()
280
281 def close(self):
282 """Close the underlying file if it is open."""
283 if not self.file.closed:
284 self.file.close()
285
286 def _output(self):
287 """

Callers 12

__exit__Method · 0.95
_readMethod · 0.95
__call__Method · 0.45
subset_font_rawFunction · 0.45
__init__Method · 0.45
_allow_interruptFunction · 0.45
multipage_pdf.pyFile · 0.45
terminateMethod · 0.45
drawMethod · 0.45
on_key_pressMethod · 0.45

Calls

no outgoing calls

Tested by 1