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

Blitting support #6

Open
t-makaro opened this issue Aug 9, 2018 · 3 comments
Open

Blitting support #6

t-makaro opened this issue Aug 9, 2018 · 3 comments
Labels
Milestone

Comments

@t-makaro
Copy link
Owner

t-makaro commented Aug 9, 2018

In past tests, blitting has caused issues with the play/pause button. I'll need to experiment with it a bit, and maybe make changes to the Block._update methods.

An option in the Animation class to enable blitting would be ideal.

Worst case scenario, blitting isn't possible with the pause button, and I'll issue a warning if both are used.

@t-makaro
Copy link
Owner Author

I'm getting some very strange issues, but neither the slider or pause button work properly with blitting. Blitting works perfectly if neither of the controls are used. I also don't think that %matplotlib notebook uses blitting at all since I can't determine any difference between using blitting and not in a notebook.

I think I may wait until matplotlib 3.0 to continue further experiments with this since they are refactoring their blitting system.

@t-makaro t-makaro modified the milestones: 0.4, Future Sep 9, 2018
@TomNicholas
Copy link
Contributor

Did you manage to get any further with this? Matplotlib is on v3.0.2 now, did they refactor their blitting system?

If there's really no blitting at all in %matplotlib notebook if would be useful to know if that's because of a bug or some active decision by someone.

@t-makaro
Copy link
Owner Author

t-makaro commented Jan 9, 2019

I haven't looked into this yet.

Dev note: Exploring this involved changing the call to FuncAnimation in the Animation call to use blit=True. I previously found that the pause button in particular caused problems.

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

No branches or pull requests

2 participants