A library encompassing smart interactions missing in matplotlib
Project description
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()
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
mpl-interact-0.0.1.tar.gz
(5.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mpl-interact-0.0.1.tar.gz.
File metadata
- Download URL: mpl-interact-0.0.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdeb5284bcf5cdf71daaa8ccc48eb39449507817b74c0a403b9fb6dff14d7cf8
|
|
| MD5 |
eff88ffc1257ae8576be0114f47a1ff0
|
|
| BLAKE2b-256 |
a9f9b9da304b173a65d9309a37360af97b7cee0f38577994df0ae4777f811570
|
File details
Details for the file mpl_interact-0.0.1-py3-none-any.whl.
File metadata
- Download URL: mpl_interact-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3311ef7ebc2177e37eef46588967ebe91476031375a79d68815997788a8ccb92
|
|
| MD5 |
ab72ddcb914d3716c568e90233cac6c9
|
|
| BLAKE2b-256 |
08a354a75fb8cc143aada9c105d05191bf8c838df379aa3db7eaa6051e56246b
|