We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a97f6e7 commit aab0300Copy full SHA for aab0300
index.html
@@ -4,7 +4,10 @@
4
<script src="https://cdn.jsdelivr.net/pyodide/v0.26.1/full/pyodide.js"></script>
5
</head>
6
<body>
7
+ <p><code>healpy</code> version: <code id=healpyversion></code></p>
8
+
9
<script type="text/javascript">
10
+ const healpyversion = document.getElementById("healpyversion");
11
async function main(){
12
let pyodide = await loadPyodide();
13
@@ -16,6 +19,8 @@
16
19
import matplotlib
17
20
matplotlib.use("module://matplotlib_pyodide.wasm_backend")
18
21
import healpy as hp
22
+import js
23
+js.document.healpyversion = hp.__version__
24
import matplotlib.pyplot as plt
25
26
m = hp.read_map(
0 commit comments