Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Code to show two plots of simulated streamed data. Data for each plot is processed (generated) | |
# by separate threads, and passed back to the gui thread for plotting. | |
# This is an example of using movetothread, which is the correct way of using QThreads | |
# Michael Hogg, 2015 | |
import time, sys | |
from pyqtgraph.Qt import QtGui, QtCore | |
from PyQt4.Qt import QMutex | |
import pyqtgraph as pg |