Skip to main content

A Custom Jupyter Widget Library

Project description

IPyAnchorViz

Code style: black PyPI version

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"

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 and Yarn version 1). 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 build

Then to have have the extension work in Jupyter notebook:

$ jupyter nbextension install --py --symlink --overwrite --sys-prefix ipyanchorviz
$ jupyter nbextension enable --py --sys-prefix ipyanchorviz

When 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipyanchorviz-0.3.0.tar.gz (18.9 MB view details)

Uploaded Source

Built Distribution

ipyanchorviz-0.3.0-py3-none-any.whl (485.2 kB view details)

Uploaded Python 3

File details

Details for the file ipyanchorviz-0.3.0.tar.gz.

File metadata

  • Download URL: ipyanchorviz-0.3.0.tar.gz
  • Upload date:
  • Size: 18.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for ipyanchorviz-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d86e01e7f2b581f4bb6bf577aec14b827e72207bd04406f607e30625a4503b1c
MD5 18a70bbfcd2dc3f25633240122430f2a
BLAKE2b-256 d244caa583177c900c6f64fef39c0b2f72972b06ea69154e6a5d0253616aba52

See more details on using hashes here.

File details

Details for the file ipyanchorviz-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: ipyanchorviz-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 485.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for ipyanchorviz-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31983e8fd2bc00120b8db5894661d88de7b33a0e666d5f2493cddf85a342069e
MD5 aa6577b96e386e93accc674005d3c929
BLAKE2b-256 8e6b8f1c67522d7c646f0a05d69ae212b8443f517c49b5694041c1464e39f76a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page