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

Method __exit__

lib/matplotlib/backends/backend_pdf.py:2652–2653  ·  view source on GitHub ↗
(self, exc_type, exc_val, exc_tb)

Source from the content-addressed store, hash-verified

2650 return self
2651
2652 def __exit__(self, exc_type, exc_val, exc_tb):
2653 self.close()
2654
2655 def _ensure_file(self):
2656 if self._file is None:

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected