pip install -e . # alternatively, use pip3
Via terminal, it's the same procedure as normal installation:
python -m pyforest install_labextension
It is also possible via Python:
import pyforest
pyforest.install_labextension() # takes 30-60s due to jupyter lab build
Run JupyterLab in watch mode
jupyter lab --watch
When you make changes on the javascript side, refresh the browser (clear cache) for changes to take effect.
Via terminal, it's the same procedure as normal installation:
python -m pyforest install_nbextension
It is also possible via Python:
import pyforest
pyforest.install_nbextension()
Run Notebook
jupyter notebook
When you make changes on the javascript side, you need to install nbextension again.
python -m pyforest install_nbextension
We use black
for formatting the Python code