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.15.tar.gz
(13.4 MB
view hashes)
Built Distribution
Close
Hashes for floatview-0.1.15-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df6a585c47c7e2964f5bf5731e9fad21bef8c3242641a5e5285a63aadfc55e2a |
|
MD5 | 4487d08bc017d0275ee88a378916dec0 |
|
BLAKE2b-256 | 28be6ca71134118fdb5e9262f5b59f641da25017e6874ec81d366618e06d48e0 |