Skip to main content

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

transfer_function_editor

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)

Source distribution for ipyTransferFunction 0.2.0
File Size Uploaded Provenance Actions
ipyTransferFunction-0.2.0.tar.gz 4.3 kB Without provenance Details for ipyTransferFunction-0.2.0.tar.gz

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

Security for ipyTransferFunction 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page