Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Looking for a good introduction: How to optimize matplotlib animations for (rendering) speed? #19082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
s-m-e opened this issue Dec 8, 2020 · 1 comment

Comments

@s-m-e
Copy link

s-m-e commented Dec 8, 2020

Problem

As part of this discussion in an issue in the mplcairo project, it became apparent that there is no "official", detailed guide on how to optimize animations with matploblib for speed.

I am developing a library for compositing & rendering animations, which can use matplotlib as one of multiple "backends" for generating layers. I am currently in the process of writing documentation for it. As a part of it, I am trying to provide a brief introduction into optimizing the usage of matplotlib for speed.

From experience I know that there are many approaches for this. The better you understand matplotlib and its internal facilities, the more you can optimize this task - e.g. like suggested here. There are tons of blog posts about this topic scattered across the internet. matplotlib's documentation also mentions some relevant concepts here and there.

Suggested Improvement

What I am essentially missing is a good introduction and overview in one place, ideally within the official documentation of matplotlib, to which I can point people (i.e. link in my documentation).

@TAdeJong
Copy link

The discussion going on in #19520 seems related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants