Skip to main content

An ipywidget image widget for astronomical purposes

Project description

bqplot-image-gl

An ipywidget image widget for showing images in bqplot using WebGL. Used for https://github.com/glue-viz/glue-jupyter

(currently requires latest developer version of bqplot)

Usage

ImageGL

See https://py.cafe/maartenbreddels/bqplot-image-gl-demo for a demo of the ImageGL widget.

Preview image: preview image

Installation

To install use pip:

$ pip install bqplot-image-gl

Installation (developers)

# make sure you have node
$ conda install -c conda-forge nodejs

# clone the repo
$ git clone https://github.com/glue-viz/bqplot-image-gl.git
$ cd bqplot-image-gl

# install in dev mode
$ pip install -e .
# symlink the share/jupyter/nbextensions/bqplot-image-gl directory
$ jupyter nbextension install --py --symlink --sys-prefix --overwrite bqplot_image_gl
# enable the extension (normally done by copying the .json in your prefix)
$ jupyter nbextension enable --py --sys-prefix bqplot_image_gl
# for jupyterlab (>=3.0), symlink share/jupyter/labextensions/bqplot-image-gl
$ jupyter labextension develop . --overwrite

workflow for notebook

$ (cd js; npm run watch:nbextension)
# make changes and wait for bundle to automatically rebuild
# reload jupyter notebook

workflow for lab

$ (cd js; npm run watch:labextension)
# make changes and wait for bundle to automatically rebuild
# reload jupyterlab

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

bqplot_image_gl-1.9.2.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

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

bqplot_image_gl-1.9.2-py3-none-any.whl (3.7 MB view details)

Uploaded Python 3

File details

Details for the file bqplot_image_gl-1.9.2.tar.gz.

File metadata

  • Download URL: bqplot_image_gl-1.9.2.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bqplot_image_gl-1.9.2.tar.gz
Algorithm Hash digest
SHA256 7ed4b00bc0d5f1fe9b28be7831a13429e7735a6fee84a537f3fc91e85299f999
MD5 959c905e718fb3f0b8afd6b3dff0fced
BLAKE2b-256 64ad4df09511f943d0faa2a0c95d93d9afe6769a7918a1a99ff002b966616cda

See more details on using hashes here.

Provenance

The following attestation bundles were made for bqplot_image_gl-1.9.2.tar.gz:

Publisher: ci.yml on glue-viz/bqplot-image-gl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bqplot_image_gl-1.9.2-py3-none-any.whl.

File metadata

File hashes

Hashes for bqplot_image_gl-1.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dd26e176c5347bd67c930b8dd9698019c7af2a2a1b2bee5513d6bfd915558f7d
MD5 df39d587b6da722da33e362c1dd4a908
BLAKE2b-256 22c923dab0627a1cac70eabd38e82a0fcb8c3e3dc77189b3a1fb0d3b35ef94cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for bqplot_image_gl-1.9.2-py3-none-any.whl:

Publisher: ci.yml on glue-viz/bqplot-image-gl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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