mpl-arrow
A simpler way to draw nice arrows in matplotlib
Installation
pip install mpl-arrow
Example usage:
import matplotlib.pyplot as plt
from mpl_arrow import arrow, arrow_absolute, vector
fig, ax = plt.subplots()
# x, y, dx, dy
arrow(1, 0, 2, 0.5, label="arrow")
# x, y, x2, y2
arrow_absolute(1, 0.5, 3.5, 2, label="arrow absolute")
# dx, dy
vector(4, 4, label="vector")
# dx, dy, x, y
vector(4, 4, x=0, y=2, label="vector with offset")
plt.legend()
plt.show()
Metadata
Release files for mpl-arrow 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mpl_arrow-0.1.0.tar.gz | 45.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mpl_arrow-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.8 kB
Release files / mpl_arrow-0.1.0.tar.gz
| Download URL | mpl_arrow-0.1.0.tar.gz |
|---|---|
| Size | 45.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6878a2db0c981af20c61c367c9e09478ea94affaca6e57fda255e8de73ac775d
|
|
BLAKE2b-256 checksum How to use checksums |
0d2a166382e8754dc81377f1cf66d4d5a05fa127dbf34270e7f4f57ae7ba8269
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / mpl_arrow-0.1.0-py3-none-any.whl
| Download URL | mpl_arrow-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c4ee2646a24d538ab842cf77d30fcc6c39f0709d9a72bf56be1d3cc128630d9
|
|
BLAKE2b-256 checksum How to use checksums |
1bd84de852d264739ecc60acfbb80e8a79d21f09ca3459b4a25b80731a55e321
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|