call micropip installed of loading packages

This commit is contained in:
Fabio Pliger
2022-04-19 14:52:09 -05:00
parent b5f8ce62d0
commit 4831c19a06
2 changed files with 5 additions and 3 deletions

View File

@@ -13,6 +13,7 @@
<py-env>
- bokeh
- numpy
- panel
</py-env>
<h1>Panel Example</h1>
<div id="myplot"></div>
@@ -20,8 +21,6 @@
import asyncio
import micropip
await micropip.install(['panel'])
import panel as pn
slider = pn.widgets.FloatSlider(start=0, end=10, name='Amplitude')