Incorporating pyqt graph view