import numpy in pyqtgraph.__init__ to avoid confusing import errors
This commit is contained in:
parent
c5dd0f4f63
commit
296b709550
@ -16,6 +16,9 @@ from .Qt import QtGui
|
||||
#if QtGui.QApplication.instance() is None:
|
||||
#app = QtGui.QApplication([])
|
||||
|
||||
import numpy ## pyqtgraph requires numpy
|
||||
## (import here to avoid massive error dump later on if numpy is not available)
|
||||
|
||||
import os, sys
|
||||
|
||||
## check python version
|
||||
|
Loading…
Reference in New Issue
Block a user