Skip to main content

A floatview output widget for JupyterLab + GlueViz Visualization with plotly

Project description

# Floatview Stats

<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.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.9
```

## 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


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.10.tar.gz (11.1 MB view details)

Uploaded Source

Built Distribution

floatview-0.1.10-py2.py3-none-any.whl (11.5 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file floatview-0.1.10.tar.gz.

File metadata

  • Download URL: floatview-0.1.10.tar.gz
  • Upload date:
  • Size: 11.1 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

Hashes for floatview-0.1.10.tar.gz
Algorithm Hash digest
SHA256 f4a1929608d83219bd407410ac2329c8405a0bc40c0671a9080e5e47e9aa544c
MD5 3ac5965d7de795031432208b58b4f79a
BLAKE2b-256 8072946ef2177b5fb1d95266d8fb72b0c2bcac6451c9ea5fe1fced607372491e

See more details on using hashes here.

File details

Details for the file floatview-0.1.10-py2.py3-none-any.whl.

File metadata

  • Download URL: floatview-0.1.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.5 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

Hashes for floatview-0.1.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9d18e2cb8ce700da89fcf4a59f4ba8984a779c55dee6d9d5c5c8acfd43559cca
MD5 99d9e44a758844692d3b63abc8a5b966
BLAKE2b-256 4a7db6110f5e42bfae9e52e962c987e32157f893b50d7471439f966b2635c7cc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page