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
imgridandimhistfor fast inspection of images and distributions.iad.vis.imview.imgrid— interactive notebook image grid (marimo / Jupyter) via anywidget; static oversampling,figsizelayout, 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)
| File | Size | Uploaded | |
|---|---|---|---|
| ialdev_vis-0.2.4.tar.gz | 119.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|