diff --git a/src/matplotlib-sideload.html b/src/matplotlib-sideload.html index 18782f971..20821d279 100644 --- a/src/matplotlib-sideload.html +++ b/src/matplotlib-sideload.html @@ -3,7 +3,7 @@ Python - iodide - +
- + diff --git a/src/pyodide.js b/src/pyodide.js index d104e4619..fed4aa7d8 100644 --- a/src/pyodide.js +++ b/src/pyodide.js @@ -62,6 +62,10 @@ var languagePluginLoader = new Promise((resolve, reject) => { '_importlib.invalidate_caches()\n'); }); + if (window.iodide !== undefined) { + window.iodide.evalQueue.await([promise]); + } + return promise; }; diff --git a/src/python.html b/src/python.html index 061faab4c..31bc5b0b9 100644 --- a/src/python.html +++ b/src/python.html @@ -3,7 +3,7 @@ Python - iodide - +
- +