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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bqplot_image_gl-1.10.0.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.0.tar.gz
Algorithm Hash digest
SHA256 70d3029b7dcbd7b6eace7ec02c89a2b5fd730e98f576d5b3d902dccc4af9c6fd
MD5 91aae01faa47ae9b11da1525bd9654eb
BLAKE2b-256 3cd4022d737921aaccdd10daa1b3709fcbb33c0dbfaf9b070a9f8f2a6b289fee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for bqplot_image_gl-1.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 99ae7b2ea08cfb49216308bff5a852e74af7fa46bc4786c629769548b5eeb756
MD5 e13d08aca38a1818ccf067219d375a47
BLAKE2b-256 f887c34496ab38b8ed9296da6b44f749a86f01535d142b316e9bd3bc9a975338

See more details on using hashes here.

Provenance

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