Merge pull request #88 from sudomaze/fix_absolute_path_examples

Fix absolute path when import `.py` files in examples
This commit is contained in:
Fabio Pliger
2022-05-02 19:29:17 -05:00
committed by GitHub
7 changed files with 9 additions and 9 deletions

View File

@@ -8,7 +8,7 @@
</head>
<py-env>
- paths:
- /antigravity.py
- ./antigravity.py
</py-env>
<body>
<b>Based on xkcd: antigravity https://xkcd.com/353/.</b>

View File

@@ -82,8 +82,8 @@
- numpy
- sympy
- paths:
- /palettes.py
- /fractals.py
- ./palettes.py
- ./fractals.py
</py-env>
<py-script>

View File

@@ -13,7 +13,7 @@
<py-env>
- paths:
- /antigravity.py
- ./antigravity.py
</py-env>
<body>

View File

@@ -17,8 +17,8 @@
- bokeh
- numpy
- paths:
- /utils.py
- /antigravity.py
- ./utils.py
- ./antigravity.py
</py-env>
<body>

View File

@@ -12,7 +12,7 @@
<script defer src="../build/pyscript.js"></script>
<py-env>
- paths:
- /utils.py
- ./utils.py
</py-env>
</head>

View File

@@ -11,7 +11,7 @@
<script defer src="/build/pyscript.js"></script>
<py-env>
- paths:
- /utils.py
- ./utils.py
</py-env>
<py-register-widget src="/pylist.py" name="py-list" klass="PyList"></py-register-widget>

View File

@@ -12,7 +12,7 @@
<script defer src="/build/pyscript.js"></script>
<py-env>
- paths:
- /utils.py
- ./utils.py
</py-env>
</head>