Skip to main content

mpl-interact

A library encompassing smart interactions missing in matplotlib

Usage

The following code enables interactors for GCF:

  • zoom by mouse wheel scrolling
  • drag by mouse left button
  • reset by mouse any button double click
import numpy as np
from matplotlib import pyplot as plt
from mpl_interact import interact

x = np.linspace(0, 2*np.pi, 100)
ys = np.sin(x)
yc = np.cos(x)

plt.plot(x, ys, 'o-', x, yc, 'o-')

interact()

plt.show()

Metadata

Release files for mpl-interact 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mpl-interact 0.0.1
File Size Uploaded
mpl-interact-0.0.1.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mpl-interact 0.0.1
File Interpreter ABI Platform
mpl_interact-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.0 kB

Release files / mpl-interact-0.0.1.tar.gz

Download URL mpl-interact-0.0.1.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cdeb5284bcf5cdf71daaa8ccc48eb39449507817b74c0a403b9fb6dff14d7cf8
BLAKE2b-256 checksum
How to use checksums
a9f9b9da304b173a65d9309a37360af97b7cee0f38577994df0ae4777f811570
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6

Release files / mpl_interact-0.0.1-py3-none-any.whl

Download URL mpl_interact-0.0.1-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3311ef7ebc2177e37eef46588967ebe91476031375a79d68815997788a8ccb92
BLAKE2b-256 checksum
How to use checksums
08a354a75fb8cc143aada9c105d05191bf8c838df379aa3db7eaa6051e56246b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page