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.2.2.tar.gz (15.7 MB view details)

Uploaded Source

Built Distribution

ipyanchorviz-0.2.2-py3-none-any.whl (483.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipyanchorviz-0.2.2.tar.gz
  • Upload date:
  • Size: 15.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for ipyanchorviz-0.2.2.tar.gz
Algorithm Hash digest
SHA256 3d1bce17d51d920017475910d93a03e22191b87ed0255d004ed2546bc69a3978
MD5 ff072d8d4aef6f43bc05e3dc340101a9
BLAKE2b-256 6daa5ea37f069a50c6a294bbd136695c23468001104d294e0dfa9af7e25593c2

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ipyanchorviz-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 483.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for ipyanchorviz-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 48a47ce6c76341bf90180032cedf1fb84c873e59d6ddc70cca549ab2ad4abd46
MD5 9a28caf199096c2d7850021abc6d93dd
BLAKE2b-256 8cb7b81becfa684ace9dc07c443a13de5cd24f8b388430ed059c0a6912896757

See more details on using hashes here.

Provenance

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