MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / patched_use

Function patched_use

pydev_ipython/matplotlibtools.py:108–111  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

106 matplotlib = sys.modules["matplotlib"]
107
108 def patched_use(*args, **kwargs):
109 matplotlib.real_use(*args, **kwargs)
110 gui, backend = find_gui_and_backend()
111 enable_gui_function(gui)
112
113 matplotlib.real_use = matplotlib.use
114 matplotlib.use = patched_use

Callers

nothing calls this directly

Calls 1

find_gui_and_backendFunction · 0.85

Tested by

no test coverage detected