Skip to main content

Drawing arrows for matplotlib made easy.

Project description

drawarrow

drawarrow logo

Drawing arrows for matplotlib made easy.

Check out the online documentation.



Installation

Note: drawarrow requires Python 3.9 or above.

You can install drawarrow directly from PyPI with:

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()



Usage guide

Check out the online documentation.

Features overview:



Contributions

Contributions (and feedback) are welcome.

There's not much that needs to be implemented at the moment. If you've found a bug or want to request a new feature, open an issue.




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.0.3.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

drawarrow-0.0.3-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file drawarrow-0.0.3.tar.gz.

File metadata

  • Download URL: drawarrow-0.0.3.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.5

File hashes

Hashes for drawarrow-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a2cc93e91bc4562a80507bf46000108d37d365ce0a14aa86432833f0ec809319
MD5 6e7288045072b20c8459d6f92f0be8ee
BLAKE2b-256 4fba4eb1b06d3ce91f45d4f61b0a3c74349e9488bf2712b013802de35a57d1c3

See more details on using hashes here.

File details

Details for the file drawarrow-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: drawarrow-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.5

File hashes

Hashes for drawarrow-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 63a1127480167f65a726559d54012dab980836dd3da9cc9ff382f4ace0b41e93
MD5 98d8d5a445f7be8675fe57e5c5ea5e09
BLAKE2b-256 8de18e0b1438e4eac52b78581aebdb778a8583cbe4259cab9a7ca2d5558b5fa8

See more details on using hashes here.

Supported by

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