Skip to main content

Add flies to matplotlib plots.

Project description

flyplotlib

PyPI version License: MIT

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.5.2.tar.gz (473.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flyplotlib-0.5.2-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file flyplotlib-0.5.2.tar.gz.

File metadata

  • Download URL: flyplotlib-0.5.2.tar.gz
  • Upload date:
  • Size: 473.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for flyplotlib-0.5.2.tar.gz
Algorithm Hash digest
SHA256 2fa79afcfe42ab4a1c3c06a67eb90a4474f4e13d28628f7da4c3e65fde863ece
MD5 73e8860c14edbf95d6bd5201d345e0bf
BLAKE2b-256 dfb3e844f2b5669da71d4a146c812f50ccf70baf65093f41523703d77dce4f86

See more details on using hashes here.

File details

Details for the file flyplotlib-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: flyplotlib-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for flyplotlib-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6ea3e74ce90c1167a2d5af7b59e62d083e3eea910c57ada550ceefe3effee8d5
MD5 7285a5bd4cf522b4e8a6901eca48395b
BLAKE2b-256 18adae04abca616de2f40fbbd2070c1e42113bf9c794afda8442273b7a34802d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page