Skip to main content

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


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.22.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file ipyumbrella-0.0.22.tar.gz.

File metadata

  • Download URL: ipyumbrella-0.0.22.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for ipyumbrella-0.0.22.tar.gz
Algorithm Hash digest
SHA256 250e334b3dd7ea892b2e5060d5e6d7f657867907ddb7b4b2465597889d428498
MD5 c98a156ae326b913ce19a2495d6a8fec
BLAKE2b-256 5595b33018bf1ce5f2be3eb4a36f36b3fcb526fee27e7864e82130f27ae904e9

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