From d683ddd17b1fc0a43ae96d936d3578b02d2362ad Mon Sep 17 00:00:00 2001 From: "Yuichiro Tachibana (Tsuchiya)" Date: Wed, 31 Aug 2022 13:11:56 +0900 Subject: [PATCH] Fix the customized run() introduced in #181 that is necessary for matplotlib --- packages/stlite-kernel/src/worker.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/stlite-kernel/src/worker.ts b/packages/stlite-kernel/src/worker.ts index 3fd06c9c1..e2e176285 100644 --- a/packages/stlite-kernel/src/worker.ts +++ b/packages/stlite-kernel/src/worker.ts @@ -151,6 +151,7 @@ async function loadPyodideAndPackages() { flag_options, ) -> None: bootstrap._fix_sys_path(main_script_path) + bootstrap._fix_matplotlib_crash() bootstrap._fix_sys_argv(main_script_path, args) bootstrap._fix_pydeck_mapbox_api_warning() bootstrap._install_pages_watcher(main_script_path)