Skip to content
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

syntax warning in qt5 with 1.4.0rc4 #3379

Closed
efiring opened this issue Aug 18, 2014 · 3 comments
Closed

syntax warning in qt5 with 1.4.0rc4 #3379

efiring opened this issue Aug 18, 2014 · 3 comments
Milestone

Comments

@efiring
Copy link
Member

efiring commented Aug 18, 2014

/usr/local/lib/python3.4/dist-packages/matplotlib/backends/backend_qt5.py:132: SyntaxWarning: name 'qApp' is used prior to global declaration
  global qApp

I'm not sure whether this is a stopper; it should be trivial to fix, though.

@efiring
Copy link
Member Author

efiring commented Aug 18, 2014

Not a stopper, just a warning; nothing is really wrong, but it would be nicer to avoid the warning.

@ezust
Copy link

ezust commented Aug 19, 2014

I would "from PyQt5.QtCore import qApp" before using it.

@tacaswell
Copy link
Member

Fixed by #3381

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

3 participants