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.8.0.tar.gz (2.3 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.8.0-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bqplot_image_gl-1.8.0.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for bqplot_image_gl-1.8.0.tar.gz
Algorithm Hash digest
SHA256 456b95df3c2b0a5f87ece0f3ab6de20b933ba4066c24e0d965aa5fea3fd519a7
MD5 a30bc824b0abcce24b5ebc2fd3313439
BLAKE2b-256 76c524e11380e1309185f7c858d6921fc59af5305c5b286c9f4c51470c159c6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bqplot_image_gl-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14e4b4c7b7bd9736424f01aba87dfcd243f7dae3e84f6064ebc23a6a710ccd03
MD5 b8be8cc3c9a148e53b8114b57bf073e6
BLAKE2b-256 471ae8a1b8eca48964fbe29a134655e5c413605db3d38cdac8f4c66f0697c7fc

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