(interpreter)
| 158 | |
| 159 | |
| 160 | def init_mpl_in_console(interpreter): |
| 161 | init_set_return_control_back(interpreter) |
| 162 | |
| 163 | if not INTERACTIVE_MODE_AVAILABLE: |
| 164 | return |
| 165 | |
| 166 | activate_mpl_if_already_imported(interpreter) |
| 167 | from _pydev_bundle.pydev_import_hook import import_hook_manager |
| 168 | |
| 169 | for mod in list(interpreter.mpl_modules_for_patching): |
| 170 | import_hook_manager.add_module_name(mod, interpreter.mpl_modules_for_patching.pop(mod)) |
| 171 | |
| 172 | |
| 173 | if sys.platform != "win32": |
no test coverage detected