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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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