mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
examples: py-env to py-config (#784)
* examples: py-env to py-config * 1 example as JSON with type * Fix todo event attribute
This commit is contained in:
@@ -5,9 +5,11 @@
|
||||
<link rel="icon" type="image/x-icon" href="./favicon.png">
|
||||
<link rel="stylesheet" href="https://pyscript.net/latest/pyscript.css" />
|
||||
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
|
||||
<py-env>
|
||||
- matplotlib
|
||||
</py-env>
|
||||
<py-config>
|
||||
packages = [
|
||||
"matplotlib"
|
||||
]
|
||||
</py-config>
|
||||
</head>
|
||||
<body>
|
||||
<div id="mpl"></div>
|
||||
|
||||
Reference in New Issue
Block a user