Metadata-Version: 2.1
Name: flyplotlib
Version: 0.2.0
Summary: Add flies to matplotlib plots.
Home-page: https://github.com/tkclam/flyplotlib
Author: Thomas Ka Chung Lam
Author-email: thomas.lam@epfl.ch
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: matplotlib
Requires-Dist: svgpath2mpl

# flyplotlib

[![PyPI version](https://badge.fury.io/py/flyplotlib.svg)](https://badge.fury.io/py/flyplotlib)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/tkclam/flyplotlib/blob/main/LICENSE)

flyplotlib is a Python library for adding vector graphics of fruit flies to matplotlib plots.

## Installation
To install flyplotlib, simply run the following command:

```sh
pip install flyplotlib
```

## Usage
Here's a basic example of how to use flyplotlib to add flies to a matplotlib plot:

```python
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)
```
