Merge pull request #144 from heckeranon/patch-1

duplicate line
This commit is contained in:
Philipp Rudiger
2022-05-03 14:29:25 +02:00
committed by GitHub

View File

@@ -126,9 +126,6 @@ HTML head. You can also link to `.whl` files directly on disk like in our [toga
If your `.whl` is not a pure Python wheel then open a PR or issue with [pyodide](https://github.com/pyodide/pyodide) to get it added here https://github.com/pyodide/pyodide/tree/main/packages. If there's enough popular demand the pyodide team will likely work on supporting your package, regardless things will likely move faster if you make the PR and consult with the team to get unblocked.
In order to use them you will need to declare the dependencies using the `<py-env>` in the
HTML head.
For example, NumPy and Matplotlib are available. Notice here we're using `<py-script output="plot">`
as a shortcut, which takes the expression on the last line of the script and runs `pyscript.write('plot', fig)`.