Update PyQt widget through ipython/jupyter notebook cells
问题 I have an annoying issue that I have not been able to solve for the past few months. Basically, I'm using jupyter/ipython notebook to call pyqt and display 3d geometric data. This is how I initialize the app into an object and after I add some polygons and points, I call show(): class Figure(object): ''' Main API functions ''' def __init__(self): print "... initializing canvas ..." self.app = QApplication(sys.argv) self.app.processEvents() ... def show(self): #Show self.GUI = GLWindow(data)