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.2.0.tar.gz
(13.4 kB
view details)
Built Distribution
File details
Details for the file flyplotlib-0.2.0.tar.gz
.
File metadata
- Download URL: flyplotlib-0.2.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a264a20d1c73ab711584bdb3d76f490fd57bd77fdc1d26f8165089f7ea418410 |
|
MD5 | 672c0ea1e185a6c4ffc347f7c92589e2 |
|
BLAKE2b-256 | 54d9fa93228c541e98f3c163a2afc3a4b250d538879b8d0dad1fe4d74ffbeca4 |
File details
Details for the file flyplotlib-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: flyplotlib-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.2 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 | 0b12c61b9dadd4defc22a0ab0d7c9fd650b7d1515b42e0fb31c4833139dd97f6 |
|
MD5 | 0bb9a2011081cb1497341d5205ce0f7e |
|
BLAKE2b-256 | 293e437c84bfb4149476278429fd18283cb332a555472b06ecc96fff9909baa0 |