Skip to content

Commit aab0300

Browse files
committed
healpy version
1 parent a97f6e7 commit aab0300

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.html

+5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
<script src="https://cdn.jsdelivr.net/pyodide/v0.26.1/full/pyodide.js"></script>
55
</head>
66
<body>
7+
<p><code>healpy</code> version: <code id=healpyversion></code></p>
8+
79
<script type="text/javascript">
10+
const healpyversion = document.getElementById("healpyversion");
811
async function main(){
912
let pyodide = await loadPyodide();
1013

@@ -16,6 +19,8 @@
1619
import matplotlib
1720
matplotlib.use("module://matplotlib_pyodide.wasm_backend")
1821
import healpy as hp
22+
import js
23+
js.document.healpyversion = hp.__version__
1924
import matplotlib.pyplot as plt
2025
2126
m = hp.read_map(

0 commit comments

Comments
 (0)