Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Latest commit

 

History

History
55 lines (38 loc) · 998 Bytes

README.md

File metadata and controls

55 lines (38 loc) · 998 Bytes

jupyterlab-nengo

Use the Nengo GUI within JupyterLab.

Screenshot of Nengo GUI running in JupyterLab

Prerequisites

  • JupyterLab
  • Node.js with npm
  • Nengo GUI from GitHub with the fix-jupyter-integration branch being installed.

Installation

Activate the Nengo GUI Jupyter notebook server extension (backend)

Add the following to your ~/.jupyter/jupyter_notebook_config.json:

{
  "NotebookApp": {
    "nbserver_extensions": {
      "nengo_gui.jupyter": true
    }
  }
}

Install the JupyterLab extension (frontend)

Run:

jupyter labextension install @jgosmann/jupyterlab-nengo

Development

For a development install (requires npm version 4 or later), do the following in the repository directory:

npm install
npm run build
jupyter labextension link .

To rebuild the package and the JupyterLab app:

npm run build
jupyter lab build