Skip to main content

Easy gif animation of matplotlib figures

Project description

gifcm 0.1.0

Gifcm provides a context manager for easy creation of gif animations from matplotlib figures. It does not offer capabilities beyond existing tools such as gif or celluloid, but rather a different API making use of context managers.

Installation

pip install gifcm

Usage

Example usage is as follows:

animated_figure = AnimatedFigure(figure=plt.figure())

for i in range(10):
  with animated_figure.frame():
    plt.plot(i, i, "o")

animated_figure.save_gif("my_animation.gif")

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

gifcm-0.1.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

gifcm-0.1.0-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

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