Skip to main content

ialdev-vis

Visualization utilities for the iad toolbox, published as ialdev-vis and imported as iad.vis.

Use this package for quick image grids, histograms, Matplotlib helpers, custom colormaps, interactive annotation widgets, Jupyter logging, and optional Qt/3D visualization tools.

Install

pip install ialdev-vis

Optional extras:

pip install "ialdev-vis[qt]"
pip install "ialdev-vis[jupyter]"
pip install "ialdev-vis[notebook]"   # anywidget interactive image grid (imview)
pip install "ialdev-vis[marimo]"
pip install "ialdev-vis[3d]"
pip install "ialdev-vis[all]"

Requires Python >=3.10.

Highlights

  • imgrid and imhist for fast inspection of images and distributions.
  • iad.vis.imview.imgrid — interactive notebook image grid (marimo / Jupyter) via anywidget; static oversampling, figsize layout, client-side colormap/clim/zoom, mosaic layouts, data-budget readout, and cross-panel inspection. See IMVIEW.md.
  • Matplotlib helpers for figure capture and conversion to arrays/PIL images.
  • Built-in custom colormaps.
  • Polygon-to-mask helpers and interactive ROI tools.
  • Optional Qt image viewer and optional ipyvolume/Open3D 3D views.

Examples

from iad.vis.insight import imgrid, imhist

imgrid(left_image, right_image, titles=["left", "right"], clim="auto")
imhist(left_image, right_image, titles=["left", "right"])
from iad.vis.mpl_utils import fig2img

pil_image = fig2img(figure)

Interactive image grid in marimo / Jupyter (imview)

See IMVIEW.md for architecture, parameters (figsize, max_zoom, downsample), module layout, and marimo stacking patterns.

from iad.vis.imview import imgrid
import marimo as mo

grid = imgrid(left, right, diff, titles=["left", "right", "diff"], figsize=(900, None), max_zoom=2)
grid.ui          # use in mo.vstack / mo.hstack
grid.value       # reactive cursor, selection, view state
grid.update_data({"left": new_left})  # in-place buffer refresh

In marimo, iad.vis.mutils.mogrid(..., backend='wgt') routes to the same anywidget backend.

Rebuild the frontend after editing TypeScript (widget developers only):

cd vis/js && npm install && npm run build
# or: pixi run build-imview-js   (requires pixi feature build-js / nodejs)

Roadmap: WebGL renderer (large images), ROI / line-profile tools, live histogram panel, linked selections into pandas/marimo cells.

Note: iad.vis.plgrid remains a lightweight Plotly overview option; desktop/Qt inspection still uses iad.vis.insight.imgrid (matplotlib).

Metadata

Release files for ialdev-vis 0.2.4

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

Source distribution (sdist)

Source distribution for ialdev-vis 0.2.4
File Size Uploaded
ialdev_vis-0.2.4.tar.gz 119.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ialdev-vis 0.2.4
File Interpreter ABI Platform
ialdev_vis-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 217.7 kB

Release files / ialdev_vis-0.2.4.tar.gz

Download URL ialdev_vis-0.2.4.tar.gz
Size 119.3 kB
Tags Source
SHA-256 checksum
How to use checksums
79bf74c7293b4c7e7d5d8e7cdb658d6e3b239a29b28fd8a0c8059e78d0abe766
BLAKE2b-256 checksum
How to use checksums
a8cb4b38539b812fa4549d86959122748b17899b55dacb595c69219fa3ed4f60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release files / ialdev_vis-0.2.4-py3-none-any.whl

Download URL ialdev_vis-0.2.4-py3-none-any.whl
Size 98.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20adebcf7736be32448145b54bef7a1dac175d6203fa02dc0ae50596f63875ef
BLAKE2b-256 checksum
How to use checksums
a1f4e777cca3d8cc168c470c97ca9f84aa53a2adbc6ef7872e457a6921373ac5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release history Release notifications | RSS feed

0.2.7

2 release files

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

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