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
Better error message if no animation writer is available #5616
Comments
The registration code should be user re-triggerable as well. |
Is there a way to register a retrigger by setting a rcParam value? |
ok, found a way to do that via the validation code... Will submit a PR... |
Ok, my solution has a problem: The validation happens before the value is assigned, so calling the animation code there isn't going to trigger a new result. I see a few ways to solve this:
If you don't have any other idea, I would go with the last idea as this seems to be the least invasive one. |
You have to set one before importing animation:
Without:
This runtime error should give that information: https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/animation.py#L788
The text was updated successfully, but these errors were encountered: