Extended widgets for jupyter notebooks.
Project description
ipyumbrella
Improved ipywidgets using contextmanager.
Install
pip install ipyumbrella
Usage
import ipyumbrella as uw
import matplotlib.pyplot as plt
carousel = uw.Carousel()
for i in range(5):
with carousel.item():
plt.plot(range(10 + i))
carousel
acc = uw.Accordion()
for i in range(5):
with acc.item('Item {}'.format(i)):
plt.plot(range(10 + i))
acc
tabs = uw.Tabs()
for i in range(5):
with tabs.item('Item {}'.format(i)):
plt.plot(range(10 + i))
tabs
# manually add an output as a tab above
with uw.Output() as out:
tabs.append(out)
plt.plot(range(10 + i))
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
ipyumbrella-0.0.15.tar.gz
(2.8 kB
view details)
File details
Details for the file ipyumbrella-0.0.15.tar.gz
.
File metadata
- Download URL: ipyumbrella-0.0.15.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4cb373a1f47a5c74c2231594c999f45d097c12b51bdcf6fa17492f84b839679 |
|
MD5 | 4ed9e8bb9dd9157d30bfcc79defcd16d |
|
BLAKE2b-256 | 98d94c7bf3a7038b90c3bb0a94f51f17fb527de8c2d65d4955af4399c5f2df8f |