Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

reduce number of draws to increase speed #20

Merged
merged 1 commit into from
Aug 18, 2023
Merged

reduce number of draws to increase speed #20

merged 1 commit into from
Aug 18, 2023

Conversation

ianhi
Copy link
Collaborator

@ianhi ianhi commented Aug 18, 2023

On my laptop this took the dynamic example playback from:

18.7 s ± 1.15 s per loop (mean ± std. dev. of 7 runs, 1 loop each)

to
8.33 s ± 120 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

This works because writer.grab_frame calls savefig which ultimately calls draw

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

Successfully merging this pull request may close these issues.

1 participant