Transfer Function
Transfer function editor widget for Jupyter Notebook
Installation
virtualenv env
. ./env/bin/activate
pip install -r requirements.txt
Usage (in Jupyter notebook)
Create widget
from ipyTransferFunction import TransferFunctionEditor
def display_palette_info(transfer_function):
print(transfer_function.data_range)
tf = TransferFunctionEditor(
name='rainbow', size=32, alpha=0.5,
continuous_update=False, on_change=display_palette_info)
Change palette
tf.set_palette('seismic')
Set value range
tf.set_range((0,255))
Screenshot
Metadata
Release files for ipyTransferFunction 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ipyTransferFunction-0.2.0.tar.gz | 4.3 kB | Details |
Release files / ipyTransferFunction-0.2.0.tar.gz
| Download URL | ipyTransferFunction-0.2.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54c8ebb74806d5500a8a45795280123b972d4c8a460eb9c1bb8c5e6116252048
|
|
BLAKE2b-256 checksum How to use checksums |
663aab3c26e3739622bcd287cf168ca16151006de676a9e9fea3148324df5764
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
|