Skip to content

TkTimer interval=0 workaround #18284

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

Merged

Conversation

richardsheridan
Copy link
Contributor

@richardsheridan richardsheridan commented Aug 18, 2020

PR Summary

Fixes #18236 and closes #8107. See discussion in #18236 for reasoning. A legitimate alternative would be to set a floor of 1 ms interval, but this more closely respects a user's wish for no delay.

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/next_api_changes/* if API changed in a backward-incompatible way

@richardsheridan richardsheridan force-pushed the TkTimer_after_idle_after_0 branch from cef4c0d to ab3c696 Compare August 18, 2020 14:14
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
@dopplershift dopplershift merged commit 6e4295c into matplotlib:master Aug 18, 2020
@dopplershift dopplershift added this to the v3.4.0 milestone Aug 18, 2020
@richardsheridan richardsheridan deleted the TkTimer_after_idle_after_0 branch August 18, 2020 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FuncAnimation fails to display with interval 0 on Tkagg backend invalid command name "..._on_timer" in FuncAnimation for (too) small interval
4 participants