-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add pause/resume methods to Animation baseclass #17689
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
Comments
For the tags:
|
Hey, I am interested in trying out working on a solution! I can probably get to it at some point in the coming week when I have some free time. I have a few years of Python under my belt now and some experience with Python open source projects, so I think I can manage :) |
Great! We don't have a formal assignment process pre-PR but looking forward to seeing it! |
Hi, From the above pasted code, this is the solution I came up with. Method to Pause
Method to Resume
I tried above solution and it worked as expected. @DCtheTall, I am sorry, I could not found other issues suitable to my knowledge, and would like to continue working on it. (Hope you don't mind.) |
@deep529 I am not an owner of this repository, I just volunteered for this issue. I don’t feel it’s my place to decide. |
@deep529 Contributions are always welcome. However, if someone else has started working on something, its generally good form to ask before submitting a PR that solves the same problem. So in this case, lets give @DCtheTall a few days to open a PR. If he does, then perhaps you can help by reviewing. Of course, if he doesn't get to it in a few days, feel free to re-ping and we can reconsider. Thanks! |
@jklymak, totally agree with your point. But I jumped in because, he mentioned he will start working in the next week when he will get free time. I did not want to hurt/discourage anyone. Really sorry if I did. |
@deep529 thanks for being understanding! I'm getting to it today. I had replied to the issue on a Sunday night and didn't want to overpromise, which is why I gave the flexible timeframe. |
@tacaswell I built the repo on my Debian machine using the instructions here. I installed matplotlib using
Here is my
Any idea on if I am missing anything? Lmk if you need more info. EDIT: It looks like ft2font wasn't built when I ran |
@tacaswell friendly ping |
You may want to look at #17096 |
@jklymak thanks! Followed the instructions in the PR and was able to run tests. |
Closed by #17826 |
As pointed out in #17685 while you can pause an animation by reaching in and calling methods on the event source, when using
Animation
with blitting that is not enough, you also have to flip the animated artists back to non-animated. This code (lightly modified from @Luluser question) is a proof-of-concept.This code should be generalized and used to put a
pause
andresume
methods onAnimation
.The text was updated successfully, but these errors were encountered: