Transfer function editor for Blue Brain BioExplorer
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for ipyTransferFunction-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54c8ebb74806d5500a8a45795280123b972d4c8a460eb9c1bb8c5e6116252048 |
|
MD5 | d7ce21538b3611e32999fc97f1427241 |
|
BLAKE2b-256 | 663aab3c26e3739622bcd287cf168ca16151006de676a9e9fea3148324df5764 |