# -*- coding: utf-8 -*-
"""
Fuming Qiu
display a graph using pyqtgraph and qtpy packages
6/22/2017
"""

import pyqtgraph as pg
from qtpy import QtGui, QtCore
import numpy as np


app = QtGui.QApplication([])
w = QtGui.QWidget()
plot = pg.PlotWidget()

class photonGraph(pg.PlotWidget):
    def __init__(self):
        super(photonGraph, self).__init__()
        self.img = pg.ImageItem()
        self.addItem(self.img)
        








x = np.random.normal(size=1000)
y = np.random.normal(size=1000)
pg.plot(x, y, pen=None, symbol='o')  ## setting pen=None disables line drawing

w.show()
app.exec_()
# -*- coding: utf-8 -*-
"""
Fuming Qiu
display a graph using pyqtgraph and qtpy packages
6/22/2017
"""

import pyqtgraph as pg
from qtpy import QtGui
import numpy as np


app = QtGui.QApplication([])
w = QtGui.QWidget()
plot = pg.PlotWidget()


x = np.random.normal(size=1000)
y = np.random.normal(size=1000)
pg.plot(x, y, pen=None, symbol='o')  ## setting pen=None disables line drawing

w.show()
app.exec_()
remove unused code