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

Method _clear

lib/matplotlib/backends/registry.py:109–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 else f"matplotlib.backends.backend_{backend}")
108
109 def _clear(self):
110 # Clear all dynamically-added data, used for testing only.
111 self.__init__()
112
113 def _ensure_entry_points_loaded(self):
114 # Load entry points, if they have not already been loaded.

Callers 3

__clearMethod · 0.45
test_parent_axes_removalFunction · 0.45
clear_backend_registryFunction · 0.45

Calls 1

__init__Method · 0.95

Tested by 2

test_parent_axes_removalFunction · 0.36
clear_backend_registryFunction · 0.36