Skip to content
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

No way to pass clear_temp to Animation.save #2770

Closed
mdboom opened this issue Jan 27, 2014 · 3 comments
Closed

No way to pass clear_temp to Animation.save #2770

mdboom opened this issue Jan 27, 2014 · 3 comments
Milestone

Comments

@mdboom
Copy link
Member

mdboom commented Jan 27, 2014

As discovered in #2763, where the double_pendulum example was perhaps just not updated to the new API, it seems there is no way to pass clear_temp=False to Animation.save, though possibly there was at one time.

Cc: @dopplershift

@pelson
Copy link
Member

pelson commented Jan 27, 2014

The docs seem to suggest that this is part of the setup, not the save (http://matplotlib.org/api/animation_api.html#matplotlib.animation.FileMovieWriter.setup) so perhaps this is a bit of a non-issue?

@dopplershift
Copy link
Contributor

I think the example just didn't get updated as the API matured and solidified. The option only exists to keep matplotlib from deleting the saved image files (if they even exist) when debugging.

I don't see anything wrong with that not being available from the high-level save() call, and I'm pretty loath to add additional arguments to the substantial list that save() already supports.

@mdboom
Copy link
Member Author

mdboom commented Jan 28, 2014

Thanks, @dopplershift. Closing.

@mdboom mdboom closed this as completed Jan 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants