Skip to main content

Fast interactive plots in Jupyter Notebooks using Qt Widgets

Project description

qtinteract

A library for building fast interactive plots in Jupyter notebooks using Qt Widgets.

Installation

pip install qtinteract

Usage

    %gui qt5    

    from math import pi
    from qtinteract import iplot

    def f(x, a):
        return np.sin(a*x)

    x = np.linspace(0, 2*pi, 101)

    iplot(x, f, a=(1., 5.))

image

Troubleshooting

  • "Kernel died": you forgot to run %gui qt5.

  • The window with the plot and the slider does not appear. Look at the taskbar, it might appear behind the browser.

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

qtinteract-0.2.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

qtinteract-0.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file qtinteract-0.2.tar.gz.

File metadata

  • Download URL: qtinteract-0.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.1

File hashes

Hashes for qtinteract-0.2.tar.gz
Algorithm Hash digest
SHA256 c0530cf49dc93a5665347e057ff87f8b2101dcf00b4bd72d344359e577a6c8f5
MD5 0b9e57f944f55503ceab3791df78b353
BLAKE2b-256 bcbc743da0128d225438b8f013f941932f4895604cd5b5e0139bd60556f6309a

See more details on using hashes here.

File details

Details for the file qtinteract-0.2-py3-none-any.whl.

File metadata

  • Download URL: qtinteract-0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.1

File hashes

Hashes for qtinteract-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 13d32347e19cac2b534a1a1e07a2961912e70d47567bc04adec3a5787726fd1b
MD5 6e9c9c18745fce91d0a79b97f081c505
BLAKE2b-256 e950f16292a10316b33385f8cc6798d10b35c3ccfda12179d464364766d17f47

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