Skip to content

Fix issue with unhandled Done exception #22572

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
Mar 1, 2022
Merged

Conversation

oscargus
Copy link
Member

PR Summary

Closes #21798

The solution was given, but I thought it makes sense to get it into the code base as well... I can confirm from manual tests that it does solve the problem (as in that it doesn't happen, if it breaks anything else remains to see, but nothing I have seen yet).

PR Checklist

Tests and Styling

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

Documentation

  • New features are documented, with examples if plot related.
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).

@oscargus oscargus added this to the v3.5.2 milestone Feb 28, 2022
@tacaswell
Copy link
Member

Based on https://groups.google.com/g/wx-users/c/i0lWE_BsbTw?pli=1 👍🏻 that this is the right API to use here (we should opt to being as lazy as possible and letting the GUI idle loop take care of actually re-paint).

@dstansby dstansby merged commit d2e5124 into matplotlib:main Mar 1, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Mar 1, 2022
@oscargus oscargus deleted the wxdone branch March 1, 2022 10:44
tacaswell added a commit that referenced this pull request Mar 1, 2022
…572-on-v3.5.x

Backport PR #22572 on branch v3.5.x (Fix issue with unhandled Done exception)
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.

[Bug]: Unhandled _get_renderer.Done exception in wxagg backend
4 participants