Drawing arrows for matplotlib made easy.
Project description
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.
Project details
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 drawarrow-0.1.0.tar.gz.
File metadata
- Download URL: drawarrow-0.1.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7be36bac90f13054e58b3ea8ffaa52f9c13a6189c25d86d2a930a00c26875ad
|
|
| MD5 |
73739516722ff05574a313a45005ee07
|
|
| BLAKE2b-256 |
49300a9b0cb8cc08c8a70406ddb0b6c6704b8281f12c13334b76ec195994f764
|
File details
Details for the file drawarrow-0.1.0-py3-none-any.whl.
File metadata
- Download URL: drawarrow-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aafd22658a05d31562c18089b3c7b5769e9af3182e6b29a26a1475920017f619
|
|
| MD5 |
e6b1c5bb1d0316677ec55d599c9a2c43
|
|
| BLAKE2b-256 |
cadd7a9d9846a46670b4012fac9afa52aa922f27bf412b437eee8d76de90f6aa
|