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

Skip to content

Cannot use Qt4Agg backend in mpl 3.2.1 #17594

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

Closed
alexysong opened this issue Jun 9, 2020 · 1 comment
Closed

Cannot use Qt4Agg backend in mpl 3.2.1 #17594

alexysong opened this issue Jun 9, 2020 · 1 comment
Milestone

Comments

@alexysong
Copy link

Bug report

Bug summary
Can't use qt4agg, error reported below.

Downgrade to matplotlib 3.1.3 solves the problem.

Code for reproduction

import matplotlib as mpl
mpl.use('qt4agg')

Or, set it to Qt4Agg in matplotlibrc file.

Actual outcome

ImportError: cannot import name '_isdeleted' 
Failed to enable GUI event loop integration for 'qt5'

Matplotlib version

  • Operating system: win 10 LTSC 2019
  • Matplotlib version: 3.2.1
  • Matplotlib backend (print(matplotlib.get_backend())): can only use TkAgg
  • Python version: 3.6
@tacaswell tacaswell added this to the v3.2.2 milestone Jun 9, 2020
@tacaswell
Copy link
Member

I think this is a duplicate of #16834 which was fixed by #16835 and will be included in 3.2.2 which should be tagged this week.

Thank you for reporting this and sorry it has taken us a while to get a release with the fix out.

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

No branches or pull requests

2 participants