1
0
mirror of https://github.com/pyscript/pyscript.git synced 2022-05-01 19:47:48 +03:00

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')