# IPyAnchorViz
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![PyPI version](https://badge.fury.io/py/ipyanchorviz.svg)](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)"
<!-- TODO: add an image! -->
## 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 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/ORNL/ipyanchorviz",
"name": "ipyanchorviz",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "ipython,widgets,Jupyter,JupyterLab,JupyterLab3",
"author": "Nathan Martindale",
"author_email": "martindalena@ornl.gov",
"download_url": "https://files.pythonhosted.org/packages/6d/aa/5ea37f069a50c6a294bbd136695c23468001104d294e0dfa9af7e25593c2/ipyanchorviz-0.2.2.tar.gz",
"platform": null,
"description": "# IPyAnchorViz\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![PyPI version](https://badge.fury.io/py/ipyanchorviz.svg)](https://badge.fury.io/py/ipyanchorviz)\n\nThis 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)\"\n\n<!-- TODO: add an image! -->\n\n## Installation\n\nTo install, use pip:\n\n $ pip install ipyanchorviz\n\n## Development\n\nFor a development installation of the Python library:\n\n $ git clone https://github.com/ORNL/ipyanchorviz.git\n $ cd ipyanchorviz\n $ pip install -e .\n\nAfter 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.\n\n $ cd js\n $ yarn\n $ yarn run build\n\nThen to have have the extension work in Jupyter notebook:\n\n $ jupyter nbextension install --py --symlink --overwrite --sys-prefix ipyanchorviz\n $ jupyter nbextension enable --py --sys-prefix ipyanchorviz\n\nWhen actively developing your extension for JupyterLab, run the command:\n\n $ jupyter labextension develop --overwrite ipyanchorviz\n\nYou then need to refresh the JupyterLab page when your javascript changes.\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License",
"summary": "A Custom Jupyter Widget Library",
"version": "0.2.2",
"project_urls": {
"Homepage": "https://github.com/ORNL/ipyanchorviz"
},
"split_keywords": [
"ipython",
"widgets",
"jupyter",
"jupyterlab",
"jupyterlab3"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8cb7b81becfa684ace9dc07c443a13de5cd24f8b388430ed059c0a6912896757",
"md5": "9a28caf199096c2d7850021abc6d93dd",
"sha256": "48a47ce6c76341bf90180032cedf1fb84c873e59d6ddc70cca549ab2ad4abd46"
},
"downloads": -1,
"filename": "ipyanchorviz-0.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9a28caf199096c2d7850021abc6d93dd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 483795,
"upload_time": "2023-06-27T15:29:23",
"upload_time_iso_8601": "2023-06-27T15:29:23.363467Z",
"url": "https://files.pythonhosted.org/packages/8c/b7/b81becfa684ace9dc07c443a13de5cd24f8b388430ed059c0a6912896757/ipyanchorviz-0.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6daa5ea37f069a50c6a294bbd136695c23468001104d294e0dfa9af7e25593c2",
"md5": "ff072d8d4aef6f43bc05e3dc340101a9",
"sha256": "3d1bce17d51d920017475910d93a03e22191b87ed0255d004ed2546bc69a3978"
},
"downloads": -1,
"filename": "ipyanchorviz-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "ff072d8d4aef6f43bc05e3dc340101a9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 15723826,
"upload_time": "2023-06-27T15:29:25",
"upload_time_iso_8601": "2023-06-27T15:29:25.847505Z",
"url": "https://files.pythonhosted.org/packages/6d/aa/5ea37f069a50c6a294bbd136695c23468001104d294e0dfa9af7e25593c2/ipyanchorviz-0.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-27 15:29:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ORNL",
"github_project": "ipyanchorviz",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "build",
"specs": []
},
{
"name": "twine",
"specs": []
}
],
"lcname": "ipyanchorviz"
}