diff --git a/index.html b/index.html
index fde7acbf..66500b04 100644
--- a/index.html
+++ b/index.html
@@ -18,7 +18,7 @@
const version = document.getElementById("healpyversion");
version.textContent = pyodide.runPython("import healpy as hp; hp.__version__");
- pyodide.runPython(`
+ pyodide.runPythonAsync(`
import matplotlib
matplotlib.use("module://matplotlib_pyodide.wasm_backend")
import healpy as hp