A floatview output widget for JupyterLab + GlueViz Visualization with plotly
Project description
Floatview Stats
Latest Release | |
PyPI Downloads |
Floatview
A floatview output widget for JupyterLab and a data explorer for glue/iplotly
Installation
If you use jupyterlab:
pip install floatview
jupyter labextension install @jupyterlab/plotly-extension@0.18.2
jupyter labextension install plotlywidget@0.9.1
jupyter labextension install @jupyter-widgets/jupyterlab-manager@0.38.1
jupyter labextension install jupyterlab-floatview@0.1.11
Usage
The floatview widget is used as a context manager, just like ipywidgets' output widget.
from floatview import Floatview
from ipywidgets import IntSlider
sc = Floatview(title='Floatview Output', mode='tab-after')
sl = IntSlider(description='Some slider')
with sc:
display(sl)
When a single output is displayed in a Floatview, it is allowed to occupy all of the vertical space available. If more content is displayed, the natural height is used instead.
The gluemanagerwidget is used as a data/visualization manager for a glue dataset.
from floatview import GlueManagerWidget
from pandas import read_csv
data = read_csv('your_data.csv', index_col=False, usecols=cols)
gmw = GlueManagerWidget(subtab, modal=True, label="Data")
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
floatview-0.1.12.tar.gz
(10.9 MB
view hashes)
Built Distribution
Close
Hashes for floatview-0.1.12-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b7ececeab17cd1ead2a8ae988d801da5e53c94016fdbc0b9bc4b5fc1d58cbe6 |
|
MD5 | 014e7b8c7a5feb237bc95f971339f643 |
|
BLAKE2b-256 | 003d623762bab81ca26eb1450ed8111248cf18a5ce05ab42e4e2cf6e1663ef92 |