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.17.tar.gz
(13.4 MB
view hashes)
Built Distribution
Close
Hashes for floatview-0.1.17-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c67a089b232ef2ff29b152d86e4ff857e22b9428114efeafed1fad64fd513ba1 |
|
MD5 | aeb394e052d1aab111410393f73d817a |
|
BLAKE2b-256 | cd966406d2292e1ec6d908d4ecc1e92399db4e85a73340c68747e33c6fda0919 |