Add flies to matplotlib plots.
Project description
flyplotlib
flyplotlib is a Python library for adding vector graphics of fruit flies to matplotlib plots.
Installation
To install flyplotlib, simply run the following command:
pip install flyplotlib
Usage
Here's a basic example of how to use flyplotlib to add flies to a matplotlib plot:
import matplotlib.pyplot as plt
from flyplotlib import add_fly
fig, ax = plt.subplots()
add_fly(xy=(0, 0), ax=ax)
add_fly(xy=(2, -0.5), rotation=30, length=2, alpha=0.3, ax=ax)
add_fly(xy=(3.5, 0), rotation=-45, grayscale=True, ax=ax)
ax.set_aspect(1)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flyplotlib-0.3.0.tar.gz
(10.9 kB
view details)
Built Distribution
File details
Details for the file flyplotlib-0.3.0.tar.gz
.
File metadata
- Download URL: flyplotlib-0.3.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d7a2db44de4fa21f055241bce645fb1e8b10e69923a0f95c9393080df04e47d |
|
MD5 | cbcceb71fd987920e3b3a9a6d9476686 |
|
BLAKE2b-256 | 7a07cd6ca0419cf964734957f0ca72d5a8030f18f861929aac3db5d91a113dd8 |
File details
Details for the file flyplotlib-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: flyplotlib-0.3.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 891d03b69dc1aecd68fd00fd76d2c6e177296e88f4c791c0b8ad7eda480a9187 |
|
MD5 | d9c205f992bef6810d2dbf4307843dc7 |
|
BLAKE2b-256 | e6b109a836fdc633ed3325bb79a1d543c64bb8e504a7c9371bbf2ec5f21922d6 |