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

Method to_exception

lib/matplotlib/cbook.py:55–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 return cls(type(exc), *exc.args, notes=getattr(exc, "__notes__", []))
54
55 def to_exception(self):
56 exc = self._cls(*self._args)
57 for note in self._notes:
58 exc.add_note(note)
59 return exc
60
61
62def _get_running_interactive_framework():

Callers 2

findfontMethod · 0.80
_readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected