🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@anntzer
Copy link
Contributor

@anntzer anntzer commented Jun 22, 2020

The previous check was for hasattr(canvas, "manager") but canvases now
always have the attribute present. Missed this in 3ccc17b.

Closes #17716.

PR Summary

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

The previous check was for `hasattr(canvas, "manager")` but canvases now
always have the attribute present.  Missed this in 3ccc17b.
@anntzer anntzer added this to the v3.3.0 milestone Jun 22, 2020
@timhoffm
Copy link
Member

Anybody can merge after CI pass.

@QuLogic QuLogic merged commit 7d6f355 into matplotlib:master Jun 22, 2020
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Jun 22, 2020
@anntzer anntzer deleted the managernone branch June 22, 2020 19:52
QuLogic added a commit that referenced this pull request Jun 22, 2020
…720-on-v3.3.x

Backport PR #17720 on branch v3.3.x (Fix check for manager = None.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error using "set_window_title" for canvas via backend_qt5agg

4 participants