Skip to main content

JupyterLab extension for advanced image viewing: fit-to-screen, cursor-anchored wheel zoom, drag-to-pan, and Left/Right arrow keys to move to the previous and next image in a folder

Project description

jupyterlab_advanced_image_viewer_extension

GitHub Actions npm version PyPI version Total PyPI downloads JupyterLab 4 Brought To You By KOLOMOLO Donate PayPal

A JupyterLab 4 extension that makes the built-in image viewer interactive. Images open fitted to the panel just like the stock viewer, then you can zoom with the wheel, pan by dragging, and step through a folder of images with the arrow keys - all in a single viewer tab.

Features

  • Fit to screen - every image opens scaled to fit the panel (same result as the stock viewer), and reset returns to that fit
  • Wheel zoom - scroll to zoom in and out, anchored at the cursor; zoom out as far as you like
  • Drag to pan - hold and drag to move around a zoomed-in image
  • Toolbar controls - zoom in, zoom out, and reset-to-fit buttons on the viewer toolbar
  • Arrow-key navigation - Left and Right open the previous and next image in the same folder, advancing within one viewer instead of opening new tabs

Requirements

  • JupyterLab >= 4.0.0

Install

To install the extension, execute:

pip install jupyterlab_advanced_image_viewer_extension

Uninstall

To remove the extension, execute:

pip uninstall jupyterlab_advanced_image_viewer_extension

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

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file jupyterlab_advanced_image_viewer_extension-1.0.3.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_advanced_image_viewer_extension-1.0.3.tar.gz
Algorithm Hash digest
SHA256 4e136b50c939c0db99ed92741a3fa3110be488cff1ba44d4de2d5578c067fad8
MD5 2da09e52c1c50238c1c048519f566ff0
BLAKE2b-256 39b30f725aff8ef337df59f42045a7deca8ec43d8412f621bace3a3c1d3797e6

See more details on using hashes here.

File details

Details for the file jupyterlab_advanced_image_viewer_extension-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_advanced_image_viewer_extension-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b725ddf509940bfe136197dbc874559201ea4425b1daf7fda8398c21ce94b534
MD5 08a989db481d7025ff30d6f7179bcc8d
BLAKE2b-256 2e9891b2b3c48ba2a47e38d40f9701242a7ddb86d571f183a4e0c4dd9a2478ed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page