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.10.1.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.10.1-py3-none-any.whl (3.7 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bqplot_image_gl-1.10.1.tar.gz
Algorithm Hash digest
SHA256 2f76f7bf84ac427285427f0ffce4e3db4f1fcace69103e36d1832ecd884b90c5
MD5 5d7d1163212126fa552f11b115958615
BLAKE2b-256 9ef435c917309fd8da33112570e148d408cec4da702b7535e39b68a1cb05dd2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for bqplot_image_gl-1.10.1.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.10.1-py3-none-any.whl.

File metadata

File hashes

Hashes for bqplot_image_gl-1.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8131bb94ed5699d8dc88b22a73104c42603a033adca2b07203700dc52cf187c
MD5 686c6ae44c8ed45d791b9dd1f3736dc0
BLAKE2b-256 3c4b8436a9c975fd0f9a63818759d702e8d3604e8c92e528a8090f926f2c53a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for bqplot_image_gl-1.10.1-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