2015-07-12 16:46:12 +00:00
|
|
|
import sys, os
|
2015-07-12 22:13:56 +00:00
|
|
|
import pyqtgraph as pg
|
2020-10-19 18:51:12 +00:00
|
|
|
from pyqtgraph.Qt import QtCore, QtGui
|
2015-07-12 22:13:56 +00:00
|
|
|
|
2013-04-29 12:13:28 +00:00
|
|
|
|
2015-07-12 20:45:39 +00:00
|
|
|
|
2012-03-02 02:55:32 +00:00
|
|
|
if __name__ == '__main__':
|
2020-10-19 18:51:12 +00:00
|
|
|
if __package__ is None or __package__ == "":
|
|
|
|
parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
sys.path.insert(0, parent_dir)
|
|
|
|
import examples
|
|
|
|
__package__ = "examples"
|
|
|
|
|
|
|
|
from .ExampleApp import main as run
|
2019-06-02 05:18:39 +00:00
|
|
|
run()
|