A floatview output widget for JupyterLab + GlueViz Visualization with plotly
Project description
# plotly.py
<table>
<tr>
<td>Latest Release</td>
<td>
<a href="https://pypi.org/project/floatview/"/>
<img src="https://badge.fury.io/py/floatview.svg"/>
</td>
</tr>
<tr>
<td>PyPI Downloads</td>
<td>
<a href="https://pepy.tech/project/floatview"/>
<img src="https://pepy.tech/badge/floatview/month"/>
</td>
</tr>
</table>
# Floatview
A floatview output widget for JupyterLab and a data explorer for glue/iplotly
## Installation
If you use jupyterlab:
```bash
pip install floatview
jupyter labextension install @jupyterlab/plotly-extension@0.18.1
jupyter labextension install plotlywidget@0.6.0
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyterlab-floatview
```
## Usage
The floatview widget is used as a context manager, just like ipywidgets' output
widget.
```python
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.
```python
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")
```
![floatview](floatview.png)
<table>
<tr>
<td>Latest Release</td>
<td>
<a href="https://pypi.org/project/floatview/"/>
<img src="https://badge.fury.io/py/floatview.svg"/>
</td>
</tr>
<tr>
<td>PyPI Downloads</td>
<td>
<a href="https://pepy.tech/project/floatview"/>
<img src="https://pepy.tech/badge/floatview/month"/>
</td>
</tr>
</table>
# Floatview
A floatview output widget for JupyterLab and a data explorer for glue/iplotly
## Installation
If you use jupyterlab:
```bash
pip install floatview
jupyter labextension install @jupyterlab/plotly-extension@0.18.1
jupyter labextension install plotlywidget@0.6.0
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyterlab-floatview
```
## Usage
The floatview widget is used as a context manager, just like ipywidgets' output
widget.
```python
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.
```python
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")
```
![floatview](floatview.png)
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.6.tar.gz
(1.2 MB
view details)
Built Distribution
File details
Details for the file floatview-0.1.6.tar.gz
.
File metadata
- Download URL: floatview-0.1.6.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a963f51961c99626193ddd211f705deea8949ca7102d324a0fb9b2ee3f269768 |
|
MD5 | 52b550308c6ecfb842c7adfe9b2e1c59 |
|
BLAKE2b-256 | 18fbe296aa6145f13c62dc05f60eadc4cbe3a465b95a812451f7c6a2304d153a |
File details
Details for the file floatview-0.1.6-py2.py3-none-any.whl
.
File metadata
- Download URL: floatview-0.1.6-py2.py3-none-any.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df1155d63380b80982e650c746d6a31c756d14e5a4d8b8cc1736564337e2ae7f |
|
MD5 | bda9a730dc150007fc3df68aef1d0268 |
|
BLAKE2b-256 | 5f694ddc58e47ee3fcef2a43387113554c55528428e3531da44a5fff34c2767f |