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:
Ted Patrick
2022-09-23 11:04:31 -05:00
committed by GitHub
parent 146264ff12
commit d4e41e679d
19 changed files with 132 additions and 95 deletions

View File

@@ -7,11 +7,13 @@
</head>
<body>
<py-env>
- numpy
- networkx
- matplotlib
</py-env>
<py-config>
packages = [
"numpy",
"networkx",
"matplotlib"
]
</py-config>
<py-script>
import numpy as np
import networkx as nx