Skip to content

Commit edb29f7

Browse files
committed
Update README for jupyter widget
1 parent efd4824 commit edb29f7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Diff for: README.md

+17
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,23 @@ BUILD_INSIGHTS=1 python setup.py develop
390390
python captum/insights/example.py
391391
```
392392

393+
### Captum Insights Jupyter Widget
394+
Captum Insights also has a Jupyter widget providing the same user interface as the web app.
395+
To install and enable the widget, run
396+
397+
```
398+
jupyter nbextension install --py --symlink --sys-prefix captum.insights.widget
399+
jupyter nbextension enable captum.insights.widget --py --sys-prefix
400+
```
401+
402+
To build the widget from a checkout in a conda environment run
403+
404+
```
405+
conda install -c conda-forge yarn
406+
BUILD_INSIGHTS=1 python setup.py develop
407+
```
408+
409+
393410
## Contributing
394411
See the [CONTRIBUTING](CONTRIBUTING.md) file for how to help out.
395412

0 commit comments

Comments
 (0)