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.1.0.tar.gz
(12.8 kB
view details)
Built Distribution
File details
Details for the file flyplotlib-0.1.0.tar.gz
.
File metadata
- Download URL: flyplotlib-0.1.0.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22aa2c0f98c7d4130fcd438e7c42bbefd22b56b44191c4c3877eea07f31c6a93 |
|
MD5 | f95b8bc93d63844e8ab659d0fc763476 |
|
BLAKE2b-256 | 2d1f80721fb9c951cae5a521d8b3f42ee2311a63c5db73c428a4ad9a37e3c966 |
File details
Details for the file flyplotlib-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: flyplotlib-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a24ff115de60f9acde92233843d200105e3b6a67dd71fffdc8aae241d0352b3e |
|
MD5 | f07585608c10dd521ca1f14218d2ea64 |
|
BLAKE2b-256 | 230237b9daf3c94cbb23c59c342a135daeee550e4263df28537f84caeafc2716 |