initExample.py 309 Bytes
Newer Older
Luke Campagnola's avatar
Luke Campagnola committed
1 2
## make this version of pyqtgraph importable before any others
import sys, os
Luke Campagnola's avatar
Luke Campagnola committed
3
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')))
4 5 6 7 8

if 'pyside' in sys.argv:  ## should force example to use PySide instead of PyQt
    import PySide
elif 'pyqt' in sys.argv: 
    import PyQt4