Skip to main content

Tests Licence: MIT Code style: black

Slisemap-interactive

Interactive plots for Slisemap using Dash. This package can be used in four different ways:

  1. CLI: To start a standalone dash app just run slisemap_interactive path/to/slisemap/object.sm (if the package has been installed) or python -m slisemap_interactive path/to/slisemap/object.sm (in the root of this repository).

  2. REPL: To use it as (interactive) replacement plots for Slisemap from a Python terminal, import the plot function from slisemap_interactive import plot and use it plot(slisemap_object).

  3. jupyter: To create plots in a jupyter notebook, import the plot function from slisemap_interactive import plot and use it plot(slisemap_object).

  4. χiplot: As a plugin that adds loading and plotting of Slisemap objects. To use the plugin, just install the package in the same Python environment as χiplot.

Screenshots

Screenshot showing focus on a single data item Screenshot showing comparison between clusters

Installation

To install slisemap_interactive run one of the following commands:

pip install slisemap_interactive
pip install slisemap_interactive[xiplot]
pip install git+https://github.com/edahelsinki/slisemap_interactive

Help

To see the syntax and arguments for the command line interface run:

slisemap_interactive --help

To see the arguments for the plot function use the ? in IPython or Jupyter:

from slisemap_interactive import plot
plot?

Development

When developing slisemap_interactive it is a good idea to do an “editable” install. An editable install just links “installed” Python files to the Python files in this directory (so that any changes are immediately available). This takes care of the namespace resolution and also activates the "entry_points" for the standalone CLI and χiplot-plugin. To do an editable installation run:

pip install --editable ".[dev]"

Release files for slisemap-interactive 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slisemap-interactive 0.6.0
File Size Uploaded
slisemap_interactive-0.6.0.tar.gz 25.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for slisemap-interactive 0.6.0
File Interpreter ABI Platform
slisemap_interactive-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 49.3 kB

Release files / slisemap_interactive-0.6.0.tar.gz

Download URL slisemap_interactive-0.6.0.tar.gz
Size 25.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fd1268c6ffbd8bbf2a0fce4397edf477eda306482d54141bbd509abb02fdb6e5
BLAKE2b-256 checksum
How to use checksums
b426b2c0c0c3a96341ec2c31b2270c8cbbca56ab4743709e13b2b114a300da5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Release files / slisemap_interactive-0.6.0-py3-none-any.whl

Download URL slisemap_interactive-0.6.0-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5c148c3b6ce4ae699101c78c0a1400589b31e76c1e762532ab25393ebb1dc7d
BLAKE2b-256 checksum
How to use checksums
6544bf74e1b844b411d891a0b34168c1ec7848cf146624f423f0d533ee2330f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page