A matplotlib GUI backend with interactive capabilities
Project description
PMAgg
A matplotlib GUI backend with interactive capabilities.
Introduction
PMAgg is a matplotlib backend with richer interactive capabilities, based on PySide2. It is currently integrated in the open source project Pyminer, as the default drawing interface, in order to achieve a drawing window similar to matlab.
Usage
import matplotlib
import numpy as np
import matplotlib.pyplot as plt
matplotlib.use('module://PMAgg') # switch to PMAgg backend
x=np.linspace(0,2*np.pi,100)
y=x*np.sin(x)
plt.plot(x,y)
plt.show()
Basic function
Right-click function: right-click on the curve, legend, text, rectangle, ellipse and other objects to delete the object or modify the style
save: Save the drawing in various image formats
setting: modify the axis, title, default font, grid, comment style selection
home: delete all additional elements, such as rectangles, notes, text, etc.
front/back: adjust back the graphics before and after panning
zoom/pan: select zoom and pan
rotate: 3D rotation, and six orientation views in toolbar 2
text: add text, support LaTeX formula
rect/oval: add rectangle and ellipse labels, display center coordinates and area, for measurement, etc.
annotation: add extra point annotations on the curve, you can make rich style modifications
grid: show or hide the grid
legend: show or hide the legend
colormap: modify the color style of the colorbar
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
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 PMAgg-1.0.0.tar.gz.
File metadata
- Download URL: PMAgg-1.0.0.tar.gz
- Upload date:
- Size: 152.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6252a543a4a364688a2e8423a60f95bcbe8e69497cced5590912181b5221f114
|
|
| MD5 |
707fb9e6ca89e16a9cd1195b0b9c2ba0
|
|
| BLAKE2b-256 |
9c113368b3998cfe01bc9a110bd65c06abe490272e9afdf412a7de70691d1e5b
|
File details
Details for the file PMAgg-1.0.0-py3-none-any.whl.
File metadata
- Download URL: PMAgg-1.0.0-py3-none-any.whl
- Upload date:
- Size: 166.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f94e04c208ab092aafee7fe733c89f0e41c5afdb5b989dfb5621f621d3740d3
|
|
| MD5 |
47d1c0b77a919e37cc1f4a5180a088c9
|
|
| BLAKE2b-256 |
ac5801fc6f63215e5339c1614f267e8ee03bad4595232410dc944d733a988226
|