Skip to main content

Video Recording made easy - The tool you need for animations using Matplotlib, Plotly and other plotting libraries.

Project description

pyrecorder

You can find the detailed documentation here: https://www.egr.msu.edu/coinlab/blankjul/pyrecorder/

build status python 3.6 license apache

Installation

The framework is available at the PyPi Repository:

pip install -U pyrecorder

Usage

It’s as simple as it can be. Initialize an Video object with a Recorder and record the current plots be calling record(). Finally, close the video object with close() and you are good to go and watch your video.

fname = "example.mp4"
vid = Video(File(fname))

for k in range(10):
    X = np.random.random((100, 2))
    plt.scatter(X[:, 0], X[:, 1])
    vid.record()

vid.close()

Contact

Feel free to contact me if you have any question:

Julian Blank (blankjul [at] egr.msu.edu)
Michigan State University
Computational Optimization and Innovation Laboratory (COIN)
East Lansing, MI 48824, USA

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

pyrecorder-0.1.1.tar.gz (4.2 kB view hashes)

Uploaded Source

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