Skip to main content

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

drawarrow logo

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

drawarrow-0.1.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drawarrow-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

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

Hashes for drawarrow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e7be36bac90f13054e58b3ea8ffaa52f9c13a6189c25d86d2a930a00c26875ad
MD5 73739516722ff05574a313a45005ee07
BLAKE2b-256 49300a9b0cb8cc08c8a70406ddb0b6c6704b8281f12c13334b76ec195994f764

See more details on using hashes here.

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

Hashes for drawarrow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aafd22658a05d31562c18089b3c7b5769e9af3182e6b29a26a1475920017f619
MD5 e6b1c5bb1d0316677ec55d599c9a2c43
BLAKE2b-256 cadd7a9d9846a46670b4012fac9afa52aa922f27bf412b437eee8d76de90f6aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page