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
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.4.0.tar.gz
(298.7 kB
view details)
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 flyplotlib-0.4.0.tar.gz.
File metadata
- Download URL: flyplotlib-0.4.0.tar.gz
- Upload date:
- Size: 298.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84f8afd0596165a65bc2eaf62d35019e67ee153cadfd79ba0fd3d6abdb3649d2
|
|
| MD5 |
47af69429332112382fa0159aadc07e6
|
|
| BLAKE2b-256 |
26c148f66356893fc48bae57834f5bf46ddfdfe60879a82e1b52d9ae8f0dde32
|
File details
Details for the file flyplotlib-0.4.0-py3-none-any.whl.
File metadata
- Download URL: flyplotlib-0.4.0-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a00b97950a617f34bd6274e3e15cb99caa1ffc86bacce78c4571bcc779b16d3
|
|
| MD5 |
ec49597cac82640ee7038e2a407b373b
|
|
| BLAKE2b-256 |
d5be3c18661aa4a59a42ca6f6a48ebfc02fa290adf831c43b0155824772f9e75
|