https://github.com/ornl/ipyanchorviz
https://github.com/ornl/ipyanchorviz
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ornl/ipyanchorviz
- Owner: ORNL
- License: bsd-3-clause
- Created: 2022-08-16T14:57:44.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-04T14:58:18.000Z (9 months ago)
- Last Synced: 2025-03-15T07:39:05.426Z (3 months ago)
- Language: JavaScript
- Size: 232 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# IPyAnchorViz
[](https://github.com/psf/black)
[](https://badge.fury.io/py/ipyanchorviz)This is an ipywidgets implementation of the AnchorViz visualization, see _Chen, Nan-Chen, et al. "[AnchorViz: Facilitating classifier error discovery through interactive semantic data exploration](https://dl.acm.org/doi/abs/10.1145/3172944.3172950)"
## Installation
To install, use pip:
$ pip install ipyanchorviz
## Development
For a development installation of the Python library:
$ git clone https://github.com/ORNL/ipyanchorviz.git
$ cd ipyanchorviz
$ pip install -e .After pip, you need to install node (requires [Node.js](https://nodejs.org) and [Yarn version 1](https://classic.yarnpkg.com/)). This will need to be rebuilt when you make a JS change.hen you need to rebuild the JS when you make a code change. The yarn command is run first to install additional needed dependencies.
$ cd js
$ yarn
$ yarn run buildThen to have have the extension work in Jupyter notebook:
$ jupyter nbextension install --py --symlink --overwrite --sys-prefix ipyanchorviz
$ jupyter nbextension enable --py --sys-prefix ipyanchorvizWhen actively developing your extension for JupyterLab, run the command:
$ jupyter labextension develop --overwrite ipyanchorviz
You then need to refresh the JupyterLab page when your javascript changes.