(*args, **kwargs)
| 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 |
nothing calls this directly
no test coverage detected