implemented pyqtgraph widget