Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Don't recursively call draw_idle when updating artists at draw time. #16298

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
merged 1 commit into from
Jan 27, 2020

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Jan 23, 2020

PR Summary

Closes #16294, AFAICT. I think this basically arose from the combination of #10210 not including the fix at #16028, plus #9082 whose review period overlapped with #10210.

Also needs to be backported to 3.2.

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/api_changes.rst if API changed in a backward-incompatible way

@anntzer anntzer added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Jan 23, 2020
@anntzer anntzer added this to the v3.1.3 milestone Jan 23, 2020
@tacaswell
Copy link
Member

This issue only shows up at a plain python prompt but not in IPython due to the different ways the auto-re-draw is implemented. In IPython, we install a hook to run right before we give control back to the user, in plain python we trigger the draw_idle immediately on a figure going stale.

@anntzer anntzer deleted the recidle branch January 27, 2020 18:50
tacaswell added a commit that referenced this pull request Jan 27, 2020
…298-on-v3.1.x

Backport PR #16298 on branch v3.1.x (Don't recursively call draw_idle when updating artists at draw time.)
tacaswell added a commit that referenced this pull request Jan 27, 2020
…298-on-v3.2.x

Backport PR #16298 on branch v3.2.x (Don't recursively call draw_idle when updating artists at draw time.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Interactive mode slow
3 participants