<html>
<head>
<!-- <link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" /> -->
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>
<py-env>
- numpy
- matplotlib
- seaborn
</py-env>
</head>
<body>
<div id="output" style="width:100%;height:100%;background-color: red;"></div>
<py-script output="output">
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
X = np.random.rand(10,10)
sns.heatmap(X)
plt
</py-script>
</body>
</html>