Skip to content

Latest commit

 

History

History
 
 

README.md

ogdf-python

A Custom Jupyter Widget Library

Installation

To install use pip:

$ pip install ogdf_python

For a development installation (requires Node.js and Yarn version 1),

$ git clone https://github.com//ogdf-python.git
$ cd ogdf-python
$ pip install -e .
$ jupyter nbextension install --py --symlink --overwrite --sys-prefix ogdf_python
$ jupyter nbextension enable --py --sys-prefix ogdf_python

When actively developing your extension for JupyterLab, run the command:

$ jupyter labextension develop --overwrite ogdf_python

Then you need to rebuild the JS when you make a code change:

$ cd js
$ yarn run build

You then need to refresh the JupyterLab page when your javascript changes.