DrawArrow is supported by Matplotlib Journey, an interactive online course designed to make you a master of Matplotlib. If you want to support DrawArrow and become a Matplotlib expert, consider purchasing the course!
drawarrow
Drawing arrows for matplotlib made easy.
Check out the online documentation.
Installation
pip install drawarrow
Quick Start
import matplotlib.pyplot as plt
from drawarrow import fig_arrow
fig, ax = plt.subplots()
ax.scatter(x=[1, 2, 3, 4, 5], y=[1, 2, 3, 4, 5], s=100)
fig_arrow(
head_position=(0.5, 0.5),
tail_position=(0.2, 0.7),
width=2,
radius=0.3,
color="darkred",
fill_head=False,
mutation_scale=2,
)
plt.show()
Next steps
You can have a look at this tutorial or see the reference.
Metadata
Release files for drawarrow 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 | |
|---|---|---|---|
| drawarrow-0.1.0.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| drawarrow-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.6 kB
Release files / drawarrow-0.1.0.tar.gz
| Download URL | drawarrow-0.1.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7be36bac90f13054e58b3ea8ffaa52f9c13a6189c25d86d2a930a00c26875ad
|
|
BLAKE2b-256 checksum How to use checksums |
49300a9b0cb8cc08c8a70406ddb0b6c6704b8281f12c13334b76ec195994f764
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / drawarrow-0.1.0-py3-none-any.whl
| Download URL | drawarrow-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aafd22658a05d31562c18089b3c7b5769e9af3182e6b29a26a1475920017f619
|
|
BLAKE2b-256 checksum How to use checksums |
cadd7a9d9846a46670b4012fac9afa52aa922f27bf412b437eee8d76de90f6aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|