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
animation with 'ffmpeg' backend incompative with 'bounding_box=tight' #2483
Comments
Are you using |
That did it. Thanks! |
This issue should probably be opened back up as a request to improve the documentation on this subject. I only knew this because I spent most of an evening once trying to figure out why code that used to work no longer did. |
I could have sworn I had a discussion about this exact topic once (prior to |
Maybe add a line in the matplotlibrc comment following |
@vlsd I seem to recall you PR to fix this getting merged. Please re-open if I am incorrect. |
@tacaswell yes you are correct. thanks for closing! |
Glad to see this will be fixed in the next release. I just spent all evening tracking down why my videos were garbled. |
Using the latest ffmpeg, matplotlib 1.5.0rc3 or 1.5.1 and Py 2.7.10 or 3.4.4 under Windows 7, the problem still persists. Has it been fixed somewhere? As this was my first attempt with animations, it cost me a few hours until I finally stumbled across this thread :-( |
I am using ffmpeg 2.0.1 and python2.7. When I save an animation using the (default) ffmpeg backend I do not get an error but the video comes out all garbled.
This is due to setting the
bounding_box=tight
option in matplotlibrc (see comments below).Running the script with --verbose-debug I do get an ffmpeg error:
The full log is here https://gist.github.com/6787110
At the very least we should document this issue, and maybe throw a warning/exception to save people time when they run into this. Pull request #2493 includes a version of this.
The text was updated successfully, but these errors were encountered: