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

Method _get_backend_or_none

lib/matplotlib/__init__.py:796–799  ·  view source on GitHub ↗

Get the requested backend, if any, without triggering resolution.

(self)

Source from the content-addressed store, hash-verified

794 return self._get(key)
795
796 def _get_backend_or_none(self):
797 """Get the requested backend, if any, without triggering resolution."""
798 backend = self._get("backend")
799 return None if backend is rcsetup._auto_backend_sentinel else backend
800
801 def __repr__(self):
802 class_name = self.__class__.__name__

Callers 3

useFunction · 0.80
pyplot.pyFile · 0.80
qt_compat.pyFile · 0.80

Calls 1

_getMethod · 0.95

Tested by

no test coverage detected